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

Bug 317645

Summary: Creating a project form an Ant build.xml file produces odd behaviour. Error markings are not working plus the console do not println
Product: z_Archived Reporter: firepowerjohan
Component: EclipselinkAssignee: Eric Gwin <eric.gwin>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description firepowerjohan CLA 2010-06-22 18:44:22 EDT
Build Identifier: 20100218-1602

I have been opening a project I need to do via 
New->Project->New Project from existing Ant Build File 

I select the build.xml file that produces what seems to be a flawed project. The error markings then I go into the Java files to edit are not wactive so I cannot spot any wrong code until I run "test" with ant. Additionally the console tab does not do any println from code I know is run (run from the test command on Ant).

Contrary if I just create a simple Java project doing a HelloWorld I get no problems. Seemingly the file structure is not recogniced as a normal project. 

Is this a general bug or some project setting that I need to change in order for Eclipse to handle this the right way?


Reproducible: Always

Steps to Reproduce:
Cannot be reproduced since it requires access to the files I have for my project.
Comment 1 Eric Gwin CLA 2010-06-23 10:51:43 EDT
A couple things:
I'm not certain about the build you are using. Is that the eclipse build number? or the qualifier for EclipseLink?

To import an EclipseLink project into Eclipse, import from "existing project", after you have pulled from svn - the build.xml files included in EclipseLink are not intended for use with PDE. Rather they are for those individuals who want to build/test from the command-line, or from within a different IDE.
Comment 2 firepowerjohan CLA 2010-06-24 05:22:01 EDT
Solved. It was the build path wronly configured when creating a project from Ant.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:03:26 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink