|
Re: buckminster cant find plugins [message #726028 is a reply to message #725768] |
Fri, 16 September 2011 12:43 |
Luiz E. Messages: 100 Registered: September 2010 |
Senior Member |
|
|
ok, now i got this up and running (not so )
i just created a new feature project, added eclipse.rcp and eclipselink.jpa features to my actual feature and deleted the .target project, and put the .target file with this new feature plus buckminster files.
he runs all my targets successful, but no product nor exe file is generated.
my product.ant file
<project>
<pathconvert property="equinox.launcher.jar">
<first count="1">
<sort>
<fileset dir="${eclipse.home}/plugins" includes="**/org.eclipse.equinox.launcher_*.jar"/>
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
<date/>
</reverse>
</sort>
</first>
</pathconvert>
<target name="create.product">
<property name="destination" location="${sp:destination}"/>
<delete dir="${destination}"/>
<makeurl property="repository" file="${sp:repository}"/>
<mkdir dir="${destination}"/>
<echoproperties/>
<echo message="${equinox.launcher.jar}"/>
<echo message="${repository}"/>
<echo message="${destination}"/>
<java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >
<arg value="-application"/>
<arg value="org.eclipse.equinox.p2.director"/>
<arg value="-repository"/>
<arg value="${repository}"/>
<arg value="-destination"/>
<arg value="${destination}"/>
<arg value="-profile"/>
<arg value="${profile}"/>
<arg value="-profileProperties" />
<arg value="org.eclipse.update.install.features=true" />
<arg value="-installIU"/>
<arg value="${iu}"/>
<arg value="-p2.os" />
<arg value="${target.os}" />
<arg value="-p2.ws" />
<arg value="${target.ws}" />
<arg value="-p2.arch" />
<arg value="${target.arch}" />
<arg value="-consoleLog"/>
<!-- jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/ -->
</java>
</target>
</project>
my cspex file
<?xml version="1.0" encoding="UTF-8"?>
<cspecExtension xmlns:com="http://www.eclipse.org/buckminster/Common-1.0"
xmlns="http://www.eclipse.org/buckminster/CSpec-1.0">
<actions>
<public name="create.product" actor="ant">
<actorProperties>
<property key="buildFile" value="build/product.ant" />
<property key="targets" value="create.product" />
</actorProperties>
<properties>
<property key="profile" value="EcfProfile" />
<property key="iu" value="br.com.germantech.ecf" />
</properties>
<prerequisites alias="repository">
<attribute name="site.p2" />
</prerequisites>
<products alias="destination" base="${buckminster.output}">
<path path="ecf.${target.ws}.${target.os}.${target.arch}/" />
</products>
</public>
<public name="create.product.zip" actor="ant">
<actorProperties>
<property key="buildFileId" value="buckminster.pdetasks" />
<property key="targets" value="create.zip" />
</actorProperties>
<prerequisites alias="action.requirements">
<attribute name="create.product" />
</prerequisites>
<products alias="action.output" base="${buckminster.output}">
<path path="mail.${target.ws}.${target.os}.${target.arch}.zip" />
</products>
</public>
</actions>
</cspecExtension>
buckminster.properties
# Where all the output should go
buckminster.output.root=${user.home}/tmp/mail
# Where the temp files should go
buckminster.temp.root=${user.home}/tmp/buildtmp
# How .qualifier in versions should be replaced
qualifier.replacement.*=generator:lastRevision
target.os=win32
target.ws=win32
target.arch=x86
buckminster generates files inside ' C:\Documents and Settings\Zorba-PC\tmp\mail\br.com.germantech.feature.site_0.0.1-eclipse.feature\ecf.win32.win32.x86' but in this folder, there are no products here, just 3 files:
p2 (folder)
plugins (folder)
and artifacts (xml file)
what am i missing? thanks in advice
[Updated on: Fri, 16 September 2011 12:45] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02949 seconds