Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333922 - unable to handle working ant buildfile
Summary: unable to handle working ant buildfile
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.6.1   Edit
Hardware: All Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 17:38 EST by maximilian.mehnert CLA
Modified: 2012-12-12 13:18 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maximilian.mehnert CLA 2011-01-10 17:38:26 EST
Build Identifier: M20100909-0800

Eclipse is not able handle the otherwise working ant buildfile from the tigase-server project (http://www.tigase.org)

Reproducible: Always

Steps to Reproduce:
checkout https://svn.tigase.org/reps/tigase-server/trunk
Import as a project with existing ant buildfile fails because the javac target is not found.

Creating a normal java project and defining a builder that just runs "/usr/bin/ant" produces:


Buildfile: /usr/bin/ant

BUILD FAILED
/usr/bin/ant:1: Content is not allowed in prolog.
Comment 1 Remy Suen CLA 2011-01-10 17:47:08 EST
I presume this works from the command line?

Do other Ant files work in Eclipse?
Comment 2 maximilian.mehnert CLA 2011-01-10 18:00:54 EST
Yes to both.
Comment 3 Michael Rennie CLA 2012-01-04 16:38:59 EST
(In reply to comment #2)
> Yes to both.

Which buildfile from https://svn.tigase.org/reps/tigase-server/trunk are you trying to run?

If I grab the build.xml file from that location it runs fine (it fails, but that is because my workspace is not set up for it)
Comment 4 Michael Rennie CLA 2012-12-12 13:18:31 EST
Closing worksforme, I could not reproduce and the original reported exception is caused by malformed XML ("Content is not allowed in prolog.")