| pde.exportPlugins task does nothing [message #530157]
||Wed, 28 April 2010 17:02
| Olivier Cailloux
Registered: July 2009
I am trying to build from eclipse an open source project (decision-deck) providing several OSGi plug-ins. To export the plug-ins, I normally simply should run the build.xml ant script, which calls a dist.xml 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 building the output shows errors related to weaving (see below). 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/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar!/org/apache/tools/ant/types/resources/comparators/antlib.xml with URI = jar:file:/usr/local/share/eclipse-SDK-3.5.2-linux-gtk/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar!/org/apache/tools/ant/types/resources/comparators/antlib.xml
[java] Executing '/usr/lib/jvm/java-6-openjdk/jre/bin/java' with arguments:
[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/linux-gtk
[java] [mkdir] Created dir: /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linux-gtk/configuration
[java] [org.eclipse.contribution.weaving.jdt] error at org/eclipse/contribution/jdt/sourceprovider/SourceTransformerAspect.aj::0 class 'org.eclipse.contribution.jdt.sourceprovider.SourceTransformerAspect' 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/linux-gtk/plugins
[java] [copy] Copying 3 files to /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linux-gtk
[java] [copy] Copying 4 files to /home/olivier/workspace-SDK/org.decisiondeck.dist/build/linux-gtk
[java] [zip] Building zip: /home/olivier/workspace-SDK/org.decisiondeck.dist/dist/decisiondeck-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
[Updated on: Wed, 28 April 2010 17:03]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02154 seconds