Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] PDE build not finding jsse.jar


Ariel,
Look at your builder's build.properties file:
1) If your bundles are using Bundle-RequiredExecutionEnvironment then the environment properties (ie J2SE-1.2=...) define the bootclasspath for each environment.   Otherwise,
2) The property bootclasspath defines the defautl bootclasspath.  The default template only lists ${java.home}/lib/rt.jar, you can add jsse.jar there.
3) If bootclasspath is not defined, then the generated ant scripts use the following for the bootclasspath:
        <property name="dir_bootclasspath" value="${java.home}/lib"/>
        <path id="path_bootclasspath">
                <fileset dir="${dir_bootclasspath}">
                        <include name="*.jar"/>
                </fileset>
        </path>

which would find the jsse.jar.

-Andrew


Ariel Garcia <garcia@xxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

06/18/2007 07:10 PM

Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>

To
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
cc
Subject
Re: [pde-build-dev] PDE build not finding jsse.jar





Hi,

of course i forgot to say that i am running PDE build headless, the
explicit command being

/usr/lib/j2sdk1.5-sun/bin/java -Xmx500m
-cp /opt/eclipse-3.3/plugins/org.eclipse.equinox.launcher_1.0.0.v20070523.jar  
 org.eclipse.equinox.launcher.Main
-application org.eclipse.ant.core.antRunner
-buildfile /opt/eclipse-3.3/plugins/org.eclipse.pde.build_3.3.0.v20070524/scripts/build.xml
-data /var/local/luntbuild/workspace -DbuildDirectory=/tmp/geclipseBuild -DfetchTag=HEAD
-DbuildType=N -DN=true -Dtimestamp=200706190012 -DbuildId=N20070619-0012
-DforceContextQualifier=N20070619-0012
-DpostingDirectory=/var/local/luntbuild/buildspace/publish/gEclipse/NightlyBuild/geclipse-0.5_N20070619-0012/artifacts
-DbaseLocation=/opt/eclipse-3.3 -Dbuilder=/var/local/luntbuild/buildspace/work/gEclipse/geclipse/development/eu.geclipse.releng/

Cheers, Ariel

On Tuesday 19 June 2007, Ariel Garcia wrote:
> Hello,
>
> we (gEclipse incubation) are having some apparently trivial but strange
> error in the PDE build, because it doesn't find the jsse.jar which is of
> course there together with rt.jar  from the SDK:
>    /usr/lib/j2sdk1.5-sun/jre/lib/jsse.jar
> This error appeared when we started to import a class from from Java but
> outside rt.jar
>
> Everything shows up fine in the PDE perspective.
>
> The error message is:
>     [javac] Compiling 16 source files
> to /tmp/geclipseBuild/plugins/eu.geclipse.glite/temp.folder/@dot.bin
>     [javac] ----------
>     [javac] 1. ERROR
> in
> /tmp/geclipseBuild/plugins/eu.geclipse.glite/src/eu/geclipse/glite/LBCli
>ent.java (at line 22)
>     [javac]     import javax.net.ssl.SSLHandshakeException;
>     [javac]            ^^^^^^^^^
>     [javac] The import javax.net cannot be resolved
>
>
> What could be the problem? i don't seem to find which setting could be
> the problem.
>
> Thanks for your help!
>
> Cheers, Ariel
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


Back to the top