|pde.exportPlugins task does nothing [message #605684]
||Wed, 28 April 2010 17:02
| Olivier Cailloux
Registered: July 2009
I am trying to build from eclipse an open source project (https://sourceforge.net/projects/decision-deck/) providing several OSGi plug-ins. To export the plug-ins, I normally simply should run the http://decision-deck.cvs.sourceforge.net/viewvc/decision-dec k/1.1/org.decisiondeck.dist/build.xml?view=markup ant script, which calls a http://decision-deck.cvs.sourceforge.net/viewvc/decision-dec k/1.1/org.decisiondeck.dist/dist.xml?view=markup script which uses several pde.exportPlugins tasks to export all the appropriate plug-ins.
Even with a fresh eclipse install (SDK 3.5.2 for linux-gtk) and a fresh workspace, the pde.exportPlugins does nothing. It is indeed called, and it creates the destination folder if it does not exist, but it does not export the expected jars. There is something wrong with my settings or my install because other developers are able to build the project with the same build file on their computer, and I was able to build it as well using a previous computer.
Also I installed the activej plug-in from http://download.eclipse.org/tools/ajdt/35/update, and when activating the weaving before the build it shows errors related to weaving. I don't know if this could be the cause of my problem. But AFAIU the build should work even without the weaving (and it does not).
How can I get a clue about what's wrong? E.g. is there some way to make the task tell me where it is looking for? (One possible explanation is that it is for some strange reason looking in the wrong folder and does not find the plugins, although the -data directory seems to be set correctly to /home/olivier/workspace-SDK where the plug-ins indeed lie.)
Here below, what appears in the console when running the ant task with the -verbose switch (and weaving activated). Any help or pointer would be much appreciated. Also please tell me if there is a more appropriate place on which I should ask the question.
Apache Ant version 1.7.1 compiled on June 27 2008
parsing buildfile /home/olivier/workspace-SDK/org.decisiondeck.dist/build.xml with URI = file:/home/olivier/workspace-SDK/org.decisiondeck.dist/build .xml
Project base dir set to: /home/olivier/workspace-SDK/org.decisiondeck.dist
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Build sequence for target(s) `default' is [default]
Complete build sequence is [default, ]
parsing buildfile jar:file:/usr/local/share/eclipse-SDK-3.5.2-linux-gtk/plugin s/org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar!/org/apach e/tools/ant/types/resources/comparators/antlib.xml with URI = jar:file:/usr/local/share/eclipse-SDK-3.5.2-linux-gtk/plugin s/org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar!/org/apach e/tools/ant/types/resources/comparators/antlib.xml
[java] Executing '/usr/lib/jvm/java-6-openjdk/jre/bin/java' with arguments:
[java] '-DbaseLocation=/usr/local/share/eclipse-SDK-3.5.2-linux-gtk /'
[java] '/usr/local/share/eclipse-SDK-3.5.2-linux-gtk/plugins/org.ec lipse.equinox.launcher_1.0.201.R35x_v20090715.jar'
[java] '-Declipse.home=/usr/local/share/eclipse-SDK-3.5.2-linux-gtk /'
[java] 'file:/usr/local/share/eclipse-SDK-3.5.2-linux-gtk//configur ation'
[java] The ' characters around the executable and arguments are
[java] not part of the command.
[java] [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester' is already woven and has not been built in reweavable mode
[java] [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/IsWovenTester.aj::0 class 'org.eclipse.contribution.jdt.IsWovenTester$WeavingMarker' is already woven and has not been built in reweavable mode
[java] Buildfile: /home/olivier/workspace-SDK/org.decisiondeck.dist/dist.xml
[java] [mkdir] Created dir: /home/olivier/workspace-SDK/org.decisiondeck.dist/build
[java] [mkdir] Created dir: /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linu x-gtk
[java] [mkdir] Created dir: /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linu x-gtk/configuration
[java] [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/sourceprovider/SourceTransforme rAspect.aj::0 class 'org.eclipse.contribution.jdt.sourceprovider.SourceTransform erAspect' is already woven and has not been built in reweavable mode
[java] [copy] Copying 5 files to /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linu x-gtk/plugins
[java] [copy] Copying 3 files to /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linu x-gtk
[java] [copy] Copying 4 files to /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linu x-gtk
[java] [zip] Building zip: /home/olivier/workspace-SDK/org.decisiondeck.dist/dist/decis iondeck-VER-linux-gtk.zip
[java] [delete] Deleting directory /home/olivier/workspace-SDK/org.decisiondeck.dist/build
[java] BUILD SUCCESSFUL
[java] BUILD SUCCESSFUL
[java] Total time: 25 seconds
Total time: 32 seconds
Powered by FUDForum
. Page generated in 0.01881 seconds