Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries from March 9th, 2009

Icefaces link issue in Seam – missing dataModel

March 9th, 2009 No Comments

The problem is:
We have a list of objects (we’ll call them Cars) displayed as results from a search in a seam web application. This is displayed as rows, iterating through the results to reference thisCar for the current result in each row. We want to be able to select one of the Cars [...]

Tags:   ·

Use a different compiler with ant’s javac task

March 9th, 2009 No Comments

To ignore the JAVA_HOME settings and specify the compiler to use in ant’s javac task set the following properties:
build.properties:
# Set the jdk compiler properties
build.javac.executable=C:/Applications/Java/jdk1.5.0_13/bin/javac.exe

build.javac.compiler=javac1.5
Then in the build script use:
<javac srcdir=”${src.dir}” destdir=”${classes.dir}”
classpath=”${classpath}” debug=”${debug.flag}”
fork=”yes” executable=”${build.javac.executable}”
compiler=”${build.javac.compiler}”/>

Tags: