Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 143973

Summary: Import a project from an existing ANT script file
Product: [Eclipse Project] Platform Reporter: Claude L. <c_lalyre>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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