• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBuilder 9 with JDK1.5.0 beta

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On another topic....
Anyone know how to freaking paste in a build.xml file and have it display
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic