[
https://issues.apache.org/jira/browse/IVYDE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585464#action_12585464
]
Nicolas Lalevée commented on IVYDE-88:
--------------------------------------
AFAIU this doc:
http://www.eclipse.org/articles/Article-PDE-Automation/automation.html
The generated build files are only to save the configuration of the last
manually build launch within eclipse. So in the generated build files the paths
are hardly coded and depend on the generator environment. So effectivelly it
desn't fit at all our needs.
Then it presents the common way to build an Eclipse plugin, which use the
org.eclipse.releng.eclipsebuilder plugin. So it requires a full Eclipse
installation for its startup. It seems to do everything we need (and also the
coffee, like fetching the sources from svn). For instance we can control the
build label, so we can generate it from the version. As it is quite standalone,
I imagine that its integration into the existing build.xml will be something
like:
{code:xml}
<target name="build">
<fail message="Set your eclipse home!" unless="eclipse.home" />
<java classpath="${eclipse.home}/startup.jar"
classname="org.eclipse.core.launcher.Main">
<arg ... />
</java>
</target>
{code}
Using this tool is requiring some time to understand how exactly it works, and
how to control it correctly. But I think we would need even more time to
develop our own tasks.
Note also that in any case, we will need somewhere the plugins IvyDE is using,
in order to compile it correctly. So in any case, a user of the build will have
to specify its eclipse location.
> Add new target to build.xml to build the plugin with Ant
> --------------------------------------------------------
>
> Key: IVYDE-88
> URL: https://issues.apache.org/jira/browse/IVYDE-88
> Project: IvyDE
> Issue Type: Improvement
> Reporter: Maarten Coene
>
> In order to add IvyDE to gump, we need an Ant target to create the plugin.
> In addition, this target could be very usefull for people wanting to build
> the plugin theirself.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.