Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317645 - Creating a project form an Ant build.xml file produces odd behaviour. Error markings are not working plus the console do not println
Summary: Creating a project form an Ant build.xml file produces odd behaviour. Error m...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eric Gwin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 18:44 EDT by firepowerjohan CLA
Modified: 2022-06-09 10:03 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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