|
|
|
|
|
|
|
|
Re: script to execute the plugin update site [message #654686 is a reply to message #654446] |
Wed, 16 February 2011 16:45 |
Stefania Axo Messages: 20 Registered: December 2010 |
Junior Member |
|
|
please help
how i can generate artifact.jar and content.jar together with the /features /plugins.
i run the script in a different way with the jvm of my eclipse environment and that seemed to work in a synchronous way instead
%%%%%%%%%%%%%%%%%%%%%%%%%
C:\Documents and Settings\Administrator\workspace30\Build>"C:\Program
Files\IBM\TeamConcert\jdk\jre\bin\java.exe" -jar "C:\Program Files\IBM\TeamConce
rt\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v200907 15.jar " -noSplash -d
ata "C:\Documents and Settings\Administrator\workspace30" -application org.eclip
se.ant.core.antRunner -buildfile "C:\Documents and Settings\Administrator\worksp
ace30\feature_export\build.xml"
Buildfile: C:\Documents and Settings\Administrator\workspace30\feature_export\bu
ild.xml
feature_export:
BUILD SUCCESSFUL
BUILD SUCCESSFUL
Total time: 35 seconds
C:\Documents and Settings\Administrator\workspace30\Build>
%%%%%%%%%%%%%%%%%%%%%%%%%
this is the content of the feature_export\build.xml
%%%%%%%%%%%%%%%%%%%%%%%%%
<?xml version="1.0" encoding="UTF-8"?>
<project default="feature_export" name="build">
<target name="feature_export">
<pde.exportFeatures destination="C:\Build" exportSource="false" exportType="zip" features="com.test.feature" filename="feature.zip" useJARFormat="true"/>
</target>
</project>
%%%%%%%%%%%%%%%%%%%%%%%%%
thanks
stefy
[Updated on: Wed, 16 February 2011 16:47] Report message to a moderator
|
|
|
|
Re: script to execute the plugin update site [message #654973 is a reply to message #654713] |
Thu, 17 February 2011 20:24 |
Stefania Axo Messages: 20 Registered: December 2010 |
Junior Member |
|
|
thank you Paul for your links
i went trough the links and i am still a little confused on how to proceed on the PDE headless build.
I would have liked to see the ppt of the "PDE Build and build clinic" from EclipseCon 2007 , but i guess now it is not available anymore.
My feature and update site plugin project were generated automatically within the Eclipse Environment.
The Feature plugin project is very simple and contains just 2 plugin present in the same workspace.
Now here is what i understood, please correct me if i am wrong:
- create a build configuration directory C:\Build
- copy customTarget.xml and build.properties template in my case from 'C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\templates\headless-build' into C:\Build
- edit build.properties
***topLevelElementId=myfeatureId
***product=/myfeatureid
***buildDirectory=c:/Build/Build
***base=C:\Program Files\IBM\TeamConcert
***baseLocation=C:\Program Files\IBM\TeamConcert
-run it
+++++++++++++++++++++++++++++++++
""C:\Program Files\IBM\TeamConcert\jdk\jre\bin\java.exe" -jar "C:\Program Files\IBM\TeamConcert\plugins\org.eclipse.equin
ox.launcher_1.0.201.R35x_v20090715.jar" -application org.eclipse.ant.core.antRunner -buildfile "C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\scripts\build.xml " -Dbuilder="C:\Build"
+++++++++++++++++++++++++++++++++
this issue this Build failure
+++++++++++++++++++++++++++++++++
BUILD FAILED
C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\
scripts\build.xml:35: The following error occurred while executing this line:
C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\
scripts\build.xml:91: The following error occurred while executing this line:
C:\RTCBuild\customTargets.xml:12: The following error occurred while executing t
his line:
C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\
templates\headless-build\allElements.xml:16: The following error occurred while
executing this line:
C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\
scripts\genericTargets.xml:106: Unable to find feature: myfeatureId
+++++++++++++++++++++++++++++++++
thank you very much for you help
stefy
[Updated on: Fri, 18 February 2011 00:37] Report message to a moderator
|
|
|
Re: script to execute the plugin update site [message #655014 is a reply to message #654973] |
Fri, 18 February 2011 00:33 |
Stefania Axo Messages: 20 Registered: December 2010 |
Junior Member |
|
|
i fixed the feature not found problem by copy in my
C:\Build\Build the project from my workspace.
Now i am getting another error
C:\Program Files\IBM\IMShared\plugins\org.eclipse.pde.build_3.5.2.R35x_ 20100114\
scripts\genericTargets.xml:72: Basedir C:\Build\Build\features\myfeatureId does not exist
where do i set the basedir? what value should it have?
thank you
Stefania
[Updated on: Fri, 18 February 2011 00:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04849 seconds