Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBuilder 9 with JDK1.5.0 beta

 
Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure why my build file is not being included properly. I'll try again...
 
Paul Kelcey
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On another topic....
Anyone know how to freaking paste in a build.xml file and have it display
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic