|
Re: eclipse.buildScript headless build [message #290383 is a reply to message #290378] |
Wed, 24 August 2005 18:35 |
Eclipse User |
|
|
|
Originally posted by: greg.akins.am.sony.com
1. the eclipse.fetch script relies on CVS. running the entire build from
scratch builds the directory structure... This will not work unless the
maps are setup and the code is fetched from cvs.
however, you can duplicate the structure on your own. We use Subversion.
So I'm duplicating the fetch task with my own ant code to get from svn.
Probably not as dynamic as eclipse.fetch; but it will work.
2. My directory strcture looks like
${buildDirectory}
+ features
directory.txt (concat of the feature mappings)
+ plugins
The eclipse build scripts are found using the pde.build.scripts property.
See the antRunner command that I use below.
Hopefully this all helps.
$ java -cp $ECLIPSE_HOME/startup.jar org.eclipse.core.launcher.Main
-applicatio
n org.eclipse.ant.core.antRunner -buildfile build.xml
-Dcomponent=com.sony.sel.
cim.atlas.workbench.feature -Dconfigs="*,*,*" -Dbaseos=win32
-Dbasews=win32 -Db
asearch=x86 -javacfailonerror=true
-Dpde.build.scripts=$ECLIPSE_HOME/plugins/or
g.eclipse.pde.build_3.1.0/scripts -DbaseLocation=$ECLIPSE_HOME
|
|
|
|
Re: eclipse.buildScript headless build [message #290391 is a reply to message #290389] |
Wed, 24 August 2005 19:39 |
Eclipse User |
|
|
|
Originally posted by: greg.akins.am.sony.com
The dir structure looks OK to me...
But did you try setting this property when you call antrunner? Or in your
properties settings?
-Dpde.build.scripts=$ECLIPSE_HOME/plugins/org.eclipse.pde.bu ild_3.1.0/scripts
|
|
|
|
Re: eclipse.buildScript headless build [message #290393 is a reply to message #290389] |
Wed, 24 August 2005 20:19 |
Eclipse User |
|
|
|
Originally posted by: greg.akins.am.sony.com
sorry if I missed part of your answer.
Directory is only needed for the concatenation of the features.map(s) and
will be created during eclipse.fetch. It should be in the root of the
build directory
Since I am skipping eclipse.fetch, I don't use it.
|
|
|
Powered by
FUDForum. Page generated in 0.05176 seconds