ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Weber <marco-owe...@gmx.de>
Subject Howto debug where properties are set?
Date Sat, 15 Nov 2008 12:17:21 GMT
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, pre.@dot, post.gather.bin.parts,
post.name, pre.gather.sources, post.compile.name, post.build.jars, post.build.sources, post.@dot,
noDefault, post.compile.@dot, 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message