aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Eclipse  and Ant Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Eclipse  and Ant Problem" Watch "Eclipse  and Ant Problem" New topic
Author

Eclipse and Ant Problem

vishwas bhatt
Ranch Hand

Joined: Nov 30, 2000
Posts: 129
hi Folks,

I have problem in Eclipse...I am using eclipse for J2me.
I want to compile through Ant using javac 1.3 compiler becasue we are importing default package which is not supported in java 1.4. We can set the the Compliance level in Eclipse IDE. But what about Ant ....I am using this



Here only thing which I am not giving is executable path of 1.3 javac executable="/opt/java/jdk1.1/bin/javac" I had done that also but giving me error on default package import ..


Thanks
Please Help Me

[edited to add code tags]
[ May 24, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29233
    
135

Moving to the Ant forum


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Roseanne Zhang
Ranch Hand

Joined: Nov 14, 2000
Posts: 1953
When I was doing J2ME, I was using WTK, ANT, and antenna to complete everything.
vishwas bhatt
Ranch Hand

Joined: Nov 30, 2000
Posts: 129
hi,

we are using Eclipse and Ant. I wanted to know how can I use javac Task to compile sode with the compliance level of 1.3. And I have installed Eclipse(3.0.1), Ant (1.6.2) and Java (1.4.2).


Thanks
Waiting for reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse and Ant Problem
 
Similar Threads
How to set compliance level to 1.3
help in setting classpath in ant
WSAD vs. ANT Differences in class file compare
Ant JAVAC Task
Ant: earExport is not working with Jdk 1.4