|
|
|
Re: Use of eclipse.buildScript, need help!! [message #602989 is a reply to message #493919] |
Wed, 28 October 2009 11:52  |
Eclipse User |
|
|
|
The element attribute needs to be "plugin@..." not "plugins".
Also:
- The "my.project.to.build" needs to be the Bundle-SymbolicName, not the
project name.
- You need to provide the location of all the other bundles that your
bundle will transitively require. Generally, setting the attribute
baseLocation="${eclipse.home}" might be enough.
valerossi46 wrote:
> Hi !
>
> I'm trying to generate a build.xml file for à plugin from a ant script.
> Here's my script:
>
> <project name="generateBuildFiles" default="createBuildFile">
> <target name="createBuildFile">
> <eclipse.buildScript elements="mailto:plugins@my.project.to.build"
> buildDirectory="/home/........./myWorkspace" />
> </target>
> </project>
>
> I call this ant script by the command:
>
> export LAUNCHER_PLUGIN_PATH=$ECLIPSE_INSTALL_DIR/plugins/org.eclips
> e.equinox.launcher_1.0.101.R34x_v20081125.jar
>
> java -jar $LAUNCHER_PLUGIN_PATH -application
> org.eclipse.ant.core.antRunner -v -buildfile ./generateBuildFiles.xml
>
> I have the following trace:
> Buildfile: /home/........../generateBuildFiles.xml
> createBuildFile:
> BUILD SUCCESSFUL
> Total time: 160 milliseconds
>
> But nothing change in my plugin directtory nor my workspace :x Any idea ?
> My aim is to have a jar file for my plugin from a command line script.
> Thanks!
|
|
|
|
Powered by
FUDForum. Page generated in 0.17186 seconds