Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 143973 - Import a project from an existing ANT script file
Summary: Import a project from an existing ANT script file
Status: RESOLVED DUPLICATE of bug 147337
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-26 11:14 EDT by Claude L. CLA
Modified: 2007-02-26 20:49 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claude L. CLA 2006-05-26 11:14:43 EDT
I have an existing projet located in the directory c:\myproject.
In this directory I have a ANT build.xml file and source code in
src/java and others directories.

I imported this projet from eclipse, from the existring ANT build.xml file.
After that a new directory have been created at c:\workspace\myproject.
Inside the directory c:\workspace\myproject, I only have the files
- .classpath
- .project
- build.xml

And nothing else in that directory.

When I launch the ANT build file from eclipse, it searches source file
in the directory c:\workspace\myproject\src\java although the real project directory is c:\myproject\src\java.

So the compilation fails !

Either the importation of the project should import all the files
and directories inside the c:\workspace\myproject directory.

Or the execution of the ANT scrip should work in the original directory
c:\myproject.


i
Comment 1 Darin Swanson CLA 2007-02-26 20:49:10 EST
With resolution of 147337 you will be able to link to the buildfile in its original location.

*** This bug has been marked as a duplicate of bug 147337 ***