[
https://issues.apache.org/jira/browse/IVYDE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590173#action_12590173
]
Maarten Coene commented on IVYDE-88:
------------------------------------
I've tried it out, but I don't get it to work. Maybe it's related to my Eclipse
version?
{noformat}
C:\projects\ivyde\ivyde>ant build -DbaseLocation=c:\java\eclipse-3.4M5 -v
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: build.xml
Detected Java version: 1.6 in: c:\java\jdk1.6.0_04\jre
Detected OS: Windows Vista
parsing buildfile C:\projects\ivyde\ivyde\build.xml with URI = file:/C:/projects
/ivyde/ivyde/build.xml
Project base dir set to: C:\projects\ivyde\ivyde
Build sequence for target(s) `build' is [eclipse-startup-check, eclipse-startup-
classpath, eclipse-launcher-classpath, build]
Complete build sequence is [eclipse-startup-check, eclipse-startup-classpath, ec
lipse-launcher-classpath, build, clean, ]
eclipse-startup-check:
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
e/tools/ant/antlib.xml. It could not be found.
[available] Unable to find c:\java\eclipse-3.4M5\startup.jar
eclipse-startup-classpath:
Skipped because property 'eclipse.startup' not set.
eclipse-launcher-classpath:
parsing buildfile jar:file:/C:/java/apache-ant-1.7.0/lib/ant.jar!/org/apache/too
ls/ant/types/resources/comparators/antlib.xml with URI = jar:file:/C:/java/apach
e-ant-1.7.0/lib/ant.jar!/org/apache/tools/ant/types/resources/comparators/antlib
.xml
[echo] Using equinox launcher jar: c:\java\eclipse-3.4M5\plugins\org.eclips
e.equinox.launcher_1.0.100.v20080205.jar
build:
[java] Executing 'c:\java\jdk1.6.0_04\jre\bin\java.exe' with arguments:
[java] '-classpath'
[java] 'c:\java\eclipse-3.4M5\plugins\org.eclipse.equinox.launcher_1.0.100.
v20080205.jar'
[java] 'org.eclipse.core.launcher.Main'
[java] '-clean'
[java] '-application'
[java] 'org.eclipse.pde.build.Build'
[java] '-DbaseLocation=c:\java\eclipse-3.4M5'
[java] '-Dbuilder=C:\projects\ivyde\ivyde/builder/component'
[java] '-DmapsPath=C:\projects\ivyde\ivyde/builder/maps'
[java] '-DbuildDirectory=C:\projects\ivyde\ivyde/work'
[java] '-DDSTAMP=20080417'
[java] '-DTSTAMP=2126'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.
BUILD FAILED
C:\projects\ivyde\ivyde\build.xml:61: Java returned: 13
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 6 seconds
{noformat}
> 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
> Assignee: Nicolas Lalevée
> Fix For: 1.3.0
>
> Attachments: build.patch
>
>
> 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.