Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » buckminster cant find plugins
buckminster cant find plugins [message #725768] Thu, 15 September 2011 17:55 Go to next message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
hi all

i'm trying to generate builds with buckminster and now i'm facing some problems.
i have 4 projects:

br.com.germantech (simple project, where .product file is)
br.com.germantech.ecf (my plug-in project)
br.com.germantech.feature (feature definition of my prodcut + buckminster files)
br.com.germantech.target (where target definition lives)

when i try to execute create.product action, it throws the following:
!SESSION 2011-09-15 17:45:41.562 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Framework arguments:  -application org.eclipse.equinox.p2.director -repository file:/C:/DOCUME~1/Zorba-PC/CONFIG~1/Temp/buckminster/build/br.com.germantech.feature_0.0.1-eclipse.feature/site.p2/ -destination C:\DOCUME~1\Zorba-PC\CONFIG~1\Temp\buckminster\build\br.com.germantech.feature_0.0.1-eclipse.feature\ecf.win32.win32.x86 -profile EcfProfile -profileProperties org.eclipse.update.install.features=true -installIU br.com.germantech.ecf -p2.os win32 -p2.ws win32 -p2.arch x86
Command-line arguments:  -application org.eclipse.equinox.p2.director -repository file:/C:/DOCUME~1/Zorba-PC/CONFIG~1/Temp/buckminster/build/br.com.germantech.feature_0.0.1-eclipse.feature/site.p2/ -destination C:\DOCUME~1\Zorba-PC\CONFIG~1\Temp\buckminster\build\br.com.germantech.feature_0.0.1-eclipse.feature\ecf.win32.win32.x86 -profile EcfProfile -profileProperties org.eclipse.update.install.features=true -installIU br.com.germantech.ecf -p2.os win32 -p2.ws win32 -p2.arch x86 -consoleLog

!ENTRY org.eclipse.equinox.p2.director 4 1 2011-09-15 17:45:42.750
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-09-15 17:45:42.750
!MESSAGE Software being installed: ECF 1.0.0.201109151237 (br.com.germantech.ecf 1.0.0.201109151237)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-09-15 17:45:42.859
!MESSAGE Missing requirement: ECF 1.0.0.201109151237 (br.com.germantech.ecf 1.0.0.201109151237) requires 'bundle javax.persistence 2.0.3' but it could not be found


i have a lib directory define in my target file like this
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="br.com.germantech" sequenceNumber="10">
<locations>
<location path="${workspace_loc}/br.com.germantech.ecf/libs" type="Directory"/>
<location includeAllPlatforms="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.rcp.sdk.id" version="3.7.0.I20110613-1736"/>
<repository location="http://download.eclipse.org/releases/indigo"/>
</location>
</locations>
</target>


in lib directory, there are all my eclipselink files.
what am i missing? thanks a lot
Re: buckminster cant find plugins [message #726028 is a reply to message #725768] Fri, 16 September 2011 12:43 Go to previous message
Luiz E. is currently offline Luiz E.Friend
Messages: 100
Registered: September 2010
Senior Member
ok, now i got this up and running (not so Sad )
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

Previous Topic:Create p2 site that shows all bundles
Next Topic:Random errors in resolve step
Goto Forum:
  


Current Time: Fri Apr 26 15:28:23 GMT 2024

Powered by FUDForum. Page generated in 0.02949 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top