Where is your ${J2SE-1.4} property set?
If this property HAS to be set, you could ensure that with <fail>.
If an empty song is valid, you could also add an <not><equals> condition.
<condition property="bundleBootClasspath" value="${J2SE-1.4}">
<and>
<isset property="J2SE-1.4"/>
<not><equals arg1="${J2SE-1.4}" arg2="" trim="true"/></not>
</and>
</condition>
<property name="bundleBootClasspath" value="VALUE-IF-NOTHING-MATCHES"/>
Jan
>-----Ursprüngliche Nachricht-----
>Von: Marc Weber [mailto:[EMAIL PROTECTED]
>Gesendet: Samstag, 15. November 2008 13:17
>An: [email protected]
>Betreff: Howto debug where properties are set?
>
>Iv'e trouble compiling eclipse using the provided build.xml.
>I've tracked it down to
>
><condition property="bundleBootClasspath" value="${J2SE-1.4}"
> <isset property="J2SE-1.4"/>
> </condition>
>
>
>setting an empty bundleBootClasspath because the proprety "JSE-1.4" is
>set to an empty string..
>
>Now the ant -d output prints something like
>
> [... thousands of lines ..]
>
> [subant] Entering
>/tmp/nix-build-h3f3l1kd48dxs6iizslwi4dzknwl8vca-eclipse-classic
-3.5M3.drv-0/plugins/org.eclipse.jdt.compiler.tool/customBuildCallbacks.xml...
> Build sequence for target(s) `post.clean' is [post.clean]
> Complete build sequence is [post.clean, pre.gather.logs,
>pre.name, [EMAIL PROTECTED], post.gather.bin.parts, post.name,
>pre.gather.sources, post.compile.name, post.build.jars,
>post.build.sources, [EMAIL PROTECTED], noDefault, [EMAIL PROTECTED],
>pre.clean, post.gather.sources, post.gather.logs,
>pre.build.jars, pre.build.sources, pre.gather.bin.parts, ]
>
> post.clean:
> [subant] Exiting
>/tmp/nix-build-h3f3l1kd48dxs6iizslwi4dzknwl8vca-eclipse-classic
-3.5M3.drv-0/plugins/org.eclipse.jdt.compiler.tool/customBuildCallbacks.xml.
> [ant] Exiting
>/tmp/nix-build-h3f3l1kd48dxs6iizslwi4dzknwl8vca-eclipse-classic
-3.5M3.drv-0/plugins/org.eclipse.jdt.compiler.tool/build.xml.
> Setting ro project property: ant.file ->
>/tmp/nix-build-h3f3l1kd48dxs6iizslwi4dzknwl8vca-eclipse-classic
-3.5M3.drv-0/features/org.eclipse.jdt/build.xml
> Setting ro project property: installOs -> linux
> Setting ro project property: ant.file.org.eclipse.sdk ->
>/tmp/nix-build-h3f3l1kd48dxs6iizslwi4dzknwl8vca-eclipse-classic
-3.5M3.drv-0/features/org.eclipse.sdk/build.xml
> Setting ro project property: installWs -> gtk
> Setting ro project property: installArch -> x86_64
> Setting ro project property: JavaSE-1.6 ->
> Setting ro project property: J2SE-1.5 ->
> Setting ro project property: ant.project.name -> org.eclipse.jdt
> Setting ro project property: J2SE-1.4 ->
> [...]
>
>JSE-1.4 is set to an empty String in the last line here.
>Either this or the <isset proprety=.. condition is wrong.
>Is there an easy way to got to know where this empty
>assignment takes place?
>
>Sincerly
> Marc Weber
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]