GeeCON Prague 2014*
The moose likes Other Java Products and Servers and the fly likes JBuilder 9 with JDK1.5.0 beta Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JBuilder 9 with JDK1.5.0 beta" Watch "JBuilder 9 with JDK1.5.0 beta" New topic
Author

JBuilder 9 with JDK1.5.0 beta

Paul Kelcey
Ranch Hand

Joined: Jan 26, 2003
Posts: 45
Hi,
In order to compile any JDK 150 language features, I need to include the command line parameter -source=1.5. There's no option to do with this with the GUI under the project properties tab so I've written a simple ANT script. However, when JBuilder runs the ANT script it does not work.

Ultimately I want to get JBuilder 9 running with JDK 150 as soon as I can. I don't care whether I have to use ANT or modify something else. Anyone know how to do it?
Regards,
Paul Kelcey
Ranch Hand

Joined: Jan 26, 2003
Posts: 45
I'm not sure why my build file is not being included properly. I'll try again...
Paul Kelcey
Ranch Hand

Joined: Jan 26, 2003
Posts: 45
Arrrgggghhhhh.... Last time - this time without code....
<?xml version="1.0"?>
<project name="Template Buildfile" default="compile" basedir=".">
<property name="dir.src" value="src"/>
<property name="dir.build" value="build"/>
<property name="dir.dist" value="classes"/>

<target name="prepare">
<mkdir dir="${dir.build}"/>
<mkdir dir="${dir.dist}"/>
</target>

<target name="clean" description="Clean all files">
<delete dir="${dir.build}"/>
<delete dir="${dir.dist}"/>
</target>

<target name="compile" depends="prepare" description="Compile all source code">
<javac srcdir="${dir.src}" destdir="${dir.build}" source="1.5"/>
</target>
</project>
Paul Kelcey
Ranch Hand

Joined: Jan 26, 2003
Posts: 45
On another topic....
Anyone know how to freaking paste in a build.xml file and have it display
 
GeeCON Prague 2014
 
subject: JBuilder 9 with JDK1.5.0 beta