Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Eclipse 3.4 director issue

I'm trying to use director (from eclipse 3.4) to install code into a Eclipse 3.4 SDK. I have ant code that unzips the new Eclipse 3.4 into a temp directory. then I run the director to install my code (that I have already created an update site and run the generate P2 metadata on it).

so when I run this I have a target eclipse that I'm going to install into ( I actually have two target eclipse I'm going to install into Linux and Win32). I have the runtime eclipse that I am going to run the director from. let's take the Linux example

I have the target eclipse in /home/markr/Build/OpenArbor/temp/openArbor-working-linux/eclipse
I have the runtime Eclipse in /home/markr/Build/OpenArbor/temp/working/eclipse

I make my call to director to install my code into the target eclipse and it runs with out errors. However there is one issue. My code is installed in the working eclipse not the target eclipse.

here is my ant code:
 <java classname="org.eclipse.equinox.launcher.Main" classpath="${eclipse.launcher.jar}"
	output="@{logFull}" failonerror="false" resultproperty="@{resultProperty}"
	jvm="/usr/java/jdk-1.6/bin/java" fork="true" taskname="Install">
<jvmarg value="-Xms64M"/>
<jvmarg value="-Xmx256M"/>
<jvmarg value="-Declipse.p2.data.area=@{targetBase}/p2" />
<arg value="-consolelog" />
<arg value="-debug" />
<arg value="-application" />
<arg value="org.eclipse.equinox.p2.director.app.application" />
<arg value="-metadataRepository" />
<arg value="file://${build.out}/update/" />
<arg value="-artifactRepository" />
<arg value="file://${build.out}/update/" />
<arg value="-installIU" />
<arg value="@{featureName}" />
<arg value="-version" />
<arg value="${product.fullVersion}" />
<arg value="-destination" />
<arg value="@{targetBase}" />
<arg value="-profile" />
<arg value="SDKProfile" />
</java>

and here is the output of the ant run in verbose

[Install] Executing '/usr/java/jdk-1.6/bin/java' with arguments:
[Install] '-Xms64M'
[Install] '-Xmx256M'
[Install] '-Declipse.p2.data.area=/home/markr/Build/OpenArbor/temp/openArbor-working-linux/eclipse/p2'
[Install] '-classpath'
[Install] '/home/markr/Build/OpenArbor/temp/working/eclipse/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar'
[Install] 'org.eclipse.equinox.launcher.Main'
[Install] '-consolelog'
[Install] '-debug'
[Install] '-application'
[Install] 'org.eclipse.equinox.p2.director.app.application'
[Install] '-metadataRepository'
[Install] 'file:///home/markr/Build/OpenArbor/product/update/'
[Install] '-artifactRepository'
[Install] 'file:///home/markr/Build/OpenArbor/product/update/'
[Install] '-installIU'
[Install] 'com.ddci.openarbor.application.feature.group'
[Install] '-version'
[Install] '3.4.0.201002040928'
[Install] '-destination'
[Install] '/home/markr/Build/OpenArbor/temp/openArbor-working-linux/eclipse'
[Install] '-profile'
[Install] 'SDKProfile'
[Install]
[Install] The ' characters around the executable and arguments are
[Install] not part of the command.


from what I read this should tell director to install into /home/markr/Build/OpenArbor/temp/openArbor-working-linux/eclipse

is there any way to turn on some tracing so I can see what is going on?

thanks in advance for you help.
--
Mark Russell
Build Master
Instantiations, Inc.
+1 724-368-3331 (land line)
http://www.instantiations.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top