Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Softwaretools > Failed to creat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 3180 of 3239
Post > Topic >>

Failed to create Java Project...

by Estroc <estrocxa@[EMAIL PROTECTED] > Mar 5, 2008 at 08:44 PM

I have an existing Java project with an ant build scrip, build.xml. I
tried to create an Eclipse project by using the "Java Project from
Existing Ant Buildfile" wizard. However, every time I select the
build.xml file in the "Ant Buildfile" field, there is an error

  The file selected is not a valid Ant buildfile

However, I can use ant to build using the same build.xml file. My
questions:

  1. Is there a more detailed error message from Eclipse about what's
     wrong with the "build.xml" ant file I specified in the New
     project wizard?

  2. How is the Ant/Eclipse integration happen? Which ant executable
     does Eclipse use? Could it be that my problem is actually a
     configuration problem?

Here are my environments.

OS: Linux river 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008
i686 GNU/Linux

Eclipse: Version: 3.2.2
Build id: M20070212-1330 ('Ubuntu' version: 3.2.2-3ubuntu3)

Java: Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode,
sharing)

Ant: Apache Ant version 1.7.0 compiled on August 29 2007

Thanks in advance,

Estro
 




 10 Posts in Topic:
Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-05 20:44:33 
Re: Failed to create Java Project...
Roedy Green <see_websi  2008-03-07 23:36:30 
Re: Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-10 10:42:39 
Re: Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-10 10:42:20 
Re: Failed to create Java Project...
Roedy Green <see_websi  2008-03-12 07:26:57 
Re: Failed to create Java Project...
Roedy Green <see_websi  2008-03-28 12:35:06 
Re: Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-12 17:15:04 
Re: Failed to create Java Project...
Roedy Green <see_websi  2008-03-28 12:38:14 
Re: Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-12 17:15:10 
Re: Failed to create Java Project...
Estroc <estrocxa@[EMAI  2008-03-12 17:15:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:58:01 CDT 2008.