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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Eclipse  and Ant Problem" Watch "Eclipse  and Ant Problem" New topic

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 ..

Please Help Me

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

Joined: May 26, 2003
Posts: 31680

Moving to the Ant forum

[OCA 8 book] [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

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).

Waiting for reply
Consider Paul's rocket mass heater.
subject: Eclipse and Ant Problem