Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ant build-user file
Ant build-user file [message #292737] Tue, 11 October 2005 21:47 Go to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

I've exported the project's and file and it generated also a
build-user.xml that is references in the build.xml as an entity.
Unfortunately the ant editor doesn't open this build-user.xml. Is this a
known issue about the ant editor that's being worked on?
Re: Ant build-user file [message #292740 is a reply to message #292737] Tue, 11 October 2005 23:26 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Can you explain what you mean by "the ant editor doesn't open this
build-user.xml"?

Darins

"Srgjan Srepfler" <thisisnot@mymail.com> wrote in message
news:dihbuu$m7q$1@news.eclipse.org...
> I've exported the project's and file and it generated also a
> build-user.xml that is references in the build.xml as an entity.
> Unfortunately the ant editor doesn't open this build-user.xml. Is this a
> known issue about the ant editor that's being worked on?
Re: Ant build-user file [message #292766 is a reply to message #292740] Wed, 12 October 2005 11:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thisisnot.mymail.com

If the build file has this:

<!DOCTYPE project [<!ENTITY buildfile SYSTEM "file:./build-user.xml">]>
<!-- WARNING: Eclipse autogenerated file.
Any modifications will be overwritten.
Please edit build-user.xml instead.
-->
<project basedir="." default="build" name="CSAIEJB">
&buildfile;

the build-user.xml file has only the various targets (it's not even a
xml file as it doesn't have the root element). So, when I drag and drop
the file in the Ant view it said <Unable to parse as an Ant buildfile>
(on the better hand the build.xml at least contains all targets both
internal and external from build-user.xml). However the external targets
are not editable with the Ant editor (press second button and it doesn't
list the ant editor in the Open With list).


Darin Swanson wrote:
> Can you explain what you mean by "the ant editor doesn't open this
> build-user.xml"?
>
> Darins
>
> "Srgjan Srepfler" <thisisnot@mymail.com> wrote in message
> news:dihbuu$m7q$1@news.eclipse.org...
>
>>I've exported the project's and file and it generated also a
>>build-user.xml that is references in the build.xml as an entity.
>>Unfortunately the ant editor doesn't open this build-user.xml. Is this a
>>known issue about the ant editor that's being worked on?
>
>
>
Re: Ant build-user file [message #292790 is a reply to message #292766] Wed, 12 October 2005 15:12 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Right...this is one of the reasons Ant has moved to using the import
task...the imported build files are fully fledged Ant buildfiles on their
own.
Eclipse's export will need to follow.

Window>Preferences>General>Editors>File Associations
Add the Ant editor as an associated editor for *.xml

HTH
Darins

"Srgjan Srepfler" <thisisnot@mymail.com> wrote in message
news:diirgv$coe$1@news.eclipse.org...
> If the build file has this:
>
> <!DOCTYPE project [<!ENTITY buildfile SYSTEM "file:./build-user.xml">]>
> <!-- WARNING: Eclipse autogenerated file.
> Any modifications will be overwritten.
> Please edit build-user.xml instead.
> -->
> <project basedir="." default="build" name="CSAIEJB">
> &buildfile;
>
> the build-user.xml file has only the various targets (it's not even a
> xml file as it doesn't have the root element). So, when I drag and drop
> the file in the Ant view it said <Unable to parse as an Ant buildfile>
> (on the better hand the build.xml at least contains all targets both
> internal and external from build-user.xml). However the external targets
> are not editable with the Ant editor (press second button and it doesn't
> list the ant editor in the Open With list).
>
>
> Darin Swanson wrote:
> > Can you explain what you mean by "the ant editor doesn't open this
> > build-user.xml"?
> >
> > Darins
> >
> > "Srgjan Srepfler" <thisisnot@mymail.com> wrote in message
> > news:dihbuu$m7q$1@news.eclipse.org...
> >
> >>I've exported the project's and file and it generated also a
> >>build-user.xml that is references in the build.xml as an entity.
> >>Unfortunately the ant editor doesn't open this build-user.xml. Is this a
> >>known issue about the ant editor that's being worked on?
> >
> >
> >
Previous Topic:how to watch the return value
Next Topic:Eclipse 3.2 Memento bug?
Goto Forum:
  


Current Time: Thu May 24 00:46:11 GMT 2018

Powered by FUDForum. Page generated in 0.02321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top