JNLP/webstart [message #320614] |
Tue, 25 September 2007 04:53  |
Eclipse User |
|
|
|
Hi there,
i have asked this a while ago already, and haven't received a good solution
....
When i enable
generateJnlp=true
i don't see artifacts of that build.
Should i find some output in the console, indicating that something jnlp
related is done?
I have redirected all console output to a log file, but that one doesn't
show anything jnlp related either.
Any help is welcome!
Tia.
Regards,
Ulrich.
|
|
|
|
|
Re: JNLP/webstart [message #320716 is a reply to message #320617] |
Thu, 27 September 2007 12:58   |
Eclipse User |
|
|
|
You should expect to see eclipse.jnlpGenerator calls in the generated
assemble.*.xml files in your buildDirectory, after the gather.bin.parts calls
and before the archive steps.
After a look at the code, it seems this call is conditional on the shape of the
feature, it requires jars, not folders. If the call is not there, set
"outputUpdateJars=true" in your build configuration build.properties file.
-Andrew
Ulrich Staudinger wrote:
> Even with running it almost manually:
>
> java -jar /home/ustaudinger/eclipse-3.2/startup.jar -application
> org.eclipse.ant.core.antRunner -buildfile
> /home/ustaudinger/eclipsetrader-build-space/./build/features /org.eclipse.pde.build.container.feature/build.xml
>
> -Dbuilder=/home/ustaudinger/eclipsetrader-build-space/build_ config
> -DbaseLocation="/home/ustaudinger/eclipse-3.2" -DjavacSource="1.5"
> -DjavacTarget="1.5" build.update.jar
>
>
> ... and after having modified in
> .../org.eclipse.pde.build.container.feature/build.xml ...
>
> <target name="build.update.jar" depends="init" description="Build the
> feature jar of: org.eclipse.pde.build.container.feature for an update
> site.">
> <echo> About to build jnlp?</echo>
> <eclipse.jnlpGenerator
> feature=" ${feature.destination}/org.eclipse.pde.build.container.featu re_1.0.0.jar "
> codebase="${jnlp.codebase}" j2se="${jnlp.j2se}"/>
> </target>
>
>
> i just see ...
>
>
> Buildfile:
> /home/ustaudinger/eclipsetrader-build-space/./build/features /org.eclipse.pde.build.container.feature/build.xml
>
>
> init:
>
> build.update.jar:
> [echo] About to build jnlp?
> BUILD SUCCESSFUL
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
>
> but NO jnlp file anywhere.
>
> I think this is simply a bug.
>
> Regards,
> Ulrich.
>
>
> "Ulrich Staudinger" <us@activestocks.de> wrote in message
> news:fdajge$6sp$1@build.eclipse.org...
>> "Ulrich Staudinger" <us@activestocks.de> wrote in message
>> news:fdai8j$21j$1@build.eclipse.org...
>>> When i enable
>>> generateJnlp=true
>>
>>
>> I searched a bit more and found that, although defined, ant task
>> "eclipse.jnlpGenerator" is never called ?
>>
>>
>> [ustaudinger@tonga eclipse-3.2]$ find . -name "*" | xargs grep
>> "eclipse.jnlpGenerator"
>> Binary file ./configuration/org.eclipse.core.runtime/.mainData.1 matches
>> ./plugins/org.eclipse.pde.build_3.2.0.v20060603/plugin.xml:
>> name="eclipse.jnlpGenerator"
>> [ustaudinger@tonga eclipse-3.2]$
>>
>>
>> Any pointers?
>>
>> Cheers,
>> Ulrich.
>
|
|
|
|
Re: JNLP/webstart [message #825777 is a reply to message #824630] |
Wed, 21 March 2012 04:52  |
Eclipse User |
|
|
|
Finally I found them. The jnlp files are created in a tmp directory and are later on deleted in the cleanup. The normal course of the build (as I use it) does not copy them to a usefull location. The jnlp's can be found here:
${buildDirectory}/tmp/eclipse/features
So I modified the customAssembly.xml to save them prior to deletion:
<target name="pre.archive">
<property name="featureDir" value="${buildDirectory}/${buildType}.${buildId}/${topLevelElementId}_feature_jars" />
<mkdir dir="${featureDir}" />
<copy todir="${featureDir}" failonerror="false">
<fileset dir="${buildDirectory}/tmp/eclipse">
<include name="**/*.jnlp" />
</fileset>
</copy>
</target>
|
|
|
Powered by
FUDForum. Page generated in 0.03877 seconds