Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
8c1e1f0f
Commit
8c1e1f0f
authored
14 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
clean up and prep for bug 339818
parent
5adb3e7f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
releng.control/checkout.xml
+60
-51
60 additions, 51 deletions
releng.control/checkout.xml
releng.control/get-relengControl.sh
+1
-1
1 addition, 1 deletion
releng.control/get-relengControl.sh
with
61 additions
and
52 deletions
releng.control/checkout.xml
+
60
−
51
View file @
8c1e1f0f
...
@@ -2,59 +2,12 @@
...
@@ -2,59 +2,12 @@
name=
"checkout"
name=
"checkout"
default=
"checkout"
default=
"checkout"
basedir=
"."
>
basedir=
"."
>
<!--
Standard properties pattern. Note: to be cross-platform,
"environment variables" are only appropriate for some variables,
e.g. ones we set, since properties are case sensitive, even if
the environment variables on your operating system are not, e.g.
it will be ${env.Path} not ${env.PATH} on Windows
-->
<property
environment=
"env"
/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file=
"${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"
/>
<fail
unless=
"projectname"
message=
"a projectname is required"
/>
<!-- if not otherwise set, the following are good default values -->
<property
name=
"checkout.builder.clean"
value=
"true"
/>
<property
name=
"mapVersionTag"
value=
"HEAD"
/>
<property
name=
"cvsProtocol"
value=
"${env.BUILD_CVS_WRITE_PROTOCOL}"
/>
<property
name=
"cvsUser"
value=
"${env.BUILD_CVS_WRITE_USER}"
/>
<property
name=
"cvsServer"
value=
"${env.BUILD_CVS_SERVER}"
/>
<property
name=
"cvsRoot"
value=
"${env.BUILD_CVS_ROOT}"
/>
<!-- end required defaults-if-not-set -->
<!-- standard computed properties. Should not have to be changed. -->
<property
name=
"mapCvsRoot"
value=
":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}"
/>
<property
name=
"codir"
value=
"${env.PROJECT_BUILDERS}/${projectname}"
/>
<echo
message=
"projectname: ${projectname}"
/>
<!-- main -->
<!-- main -->
<target
<target
name=
"checkout"
name=
"checkout"
depends=
"init"
if=
"projectname"
>
if=
"projectname"
>
<!-- we always check and init the builder -->
<!-- we always check and init the builder -->
<antcall
target=
"getbuilder"
/>
<antcall
target=
"getbuilder"
/>
...
@@ -65,7 +18,7 @@
...
@@ -65,7 +18,7 @@
-->
-->
<target
<target
name=
"getbuilder"
name=
"getbuilder"
depends=
"check.clean,initBuilders"
depends=
"
init,
check.clean,initBuilders"
if=
"doClean"
>
if=
"doClean"
>
<!--
<!--
This is a special property file, that contains (only) the
This is a special property file, that contains (only) the
...
@@ -100,7 +53,8 @@
...
@@ -100,7 +53,8 @@
set doClean property checkout.build.clean is set in
set doClean property checkout.build.clean is set in
checkout.properties from the project properties directory
checkout.properties from the project properties directory
-->
-->
<target
name=
"check.clean"
>
<target
name=
"check.clean"
depends=
"init"
>
<echo
message=
"checkout.builder.clean: ${checkout.builder.clean}"
/>
<echo
message=
"checkout.builder.clean: ${checkout.builder.clean}"
/>
<condition
property=
"doClean"
>
<condition
property=
"doClean"
>
<equals
<equals
...
@@ -118,7 +72,7 @@
...
@@ -118,7 +72,7 @@
-->
-->
<target
<target
name=
"initBuilders"
name=
"initBuilders"
depends=
"check.clean"
depends=
"
init,
check.clean"
if=
"doClean"
>
if=
"doClean"
>
<!-- Note: it is important to remove 'codir', which is <projectBuidlers>/<project> so it
<!-- Note: it is important to remove 'codir', which is <projectBuidlers>/<project> so it
...
@@ -136,4 +90,59 @@
...
@@ -136,4 +90,59 @@
dest=
"${codir}"
dest=
"${codir}"
tag=
"${mapVersionTag}"
/>
tag=
"${mapVersionTag}"
/>
</target>
</target>
<target
name=
"init"
unless=
"checkout.initialized"
>
<!--
Standard properties pattern. Note: to be cross-platform,
"environment variables" are only appropriate for some variables,
e.g. ones we set, since properties are case sensitive, even if
the environment variables on your operating system are not, e.g.
it will be ${env.Path} not ${env.PATH} on Windows
-->
<property
environment=
"env"
/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file=
"${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"
/>
<fail
unless=
"projectname"
message=
"a projectname is required"
/>
<!-- if not otherwise set, the following are good default values -->
<property
name=
"checkout.builder.clean"
value=
"true"
/>
<property
name=
"mapVersionTag"
value=
"HEAD"
/>
<property
name=
"cvsProtocol"
value=
"${env.BUILD_CVS_WRITE_PROTOCOL}"
/>
<property
name=
"cvsUser"
value=
"${env.BUILD_CVS_WRITE_USER}"
/>
<property
name=
"cvsServer"
value=
"${env.BUILD_CVS_SERVER}"
/>
<property
name=
"cvsRoot"
value=
"${env.BUILD_CVS_ROOT}"
/>
<!-- end required defaults-if-not-set -->
<!-- standard computed properties. Should not have to be changed. -->
<property
name=
"mapCvsRoot"
value=
":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}"
/>
<property
name=
"codir"
value=
"${env.PROJECT_BUILDERS}/${projectname}"
/>
<echo
message=
"projectname: ${projectname}"
/>
<property
name=
"checkout.initialized"
value=
"true"
/>
</target>
</project>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
releng.control/get-relengControl.sh
+
1
−
1
View file @
8c1e1f0f
...
@@ -66,7 +66,7 @@ fi
...
@@ -66,7 +66,7 @@ fi
# This CONTROLTAG controls _only_ the version of releng.control that is fetched by build administrator
# This CONTROLTAG controls _only_ the version of releng.control that is fetched by build administrator
# It may, for example, contain a version of cc_config.xml where it, in turn, specifies
# It may, for example, contain a version of cc_config.xml where it, in turn, specifies
# other branches to do non standard builds (HEAD is the standard, production value)
# other branches to do non standard builds (HEAD is the standard, production value)
#CONTROLTAG=david_williams_tempTest3
3
#CONTROLTAG=david_williams_tempTest3
6
CONTROLTAG
=
HEAD
CONTROLTAG
=
HEAD
echo
" checking out
$CONTROLTAG
of
${
RELENG_CONTROL
}
from cvs "
echo
" checking out
$CONTROLTAG
of
${
RELENG_CONTROL
}
from cvs "
echo
" using :
${
BUILD_CVS_READ_PROTOCOL
}
:
${
BUILD_CVS_READ_USER
}
@dev.eclipse.org: "
echo
" using :
${
BUILD_CVS_READ_PROTOCOL
}
:
${
BUILD_CVS_READ_USER
}
@dev.eclipse.org: "
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment