Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How does eclipse handle linked java files in an Ant build file?
How does eclipse handle linked java files in an Ant build file? [message #334633] Fri, 20 February 2009 19:16 Go to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
Hey,

I moved this post from eclipse.platform.pde to here.

I tried to export Ant build file using the Ant buildfiles export wizard.
However, it seemed it did not handle linked java files. For example, I
have a simple java project which contains a linked java file in the source
folder. I export the Ant build file for this project. I check the
generated Ant build file but did not find anything in the file which
handles the linked java file. I ran it outside of eclipse and the linke
file was not compiled. If there is a linked folder, I saw the generated
Ant build file handled it correctly. I am not sure if this is a
un-implemented feature? or it is not supposed to be supported?

Thanks.
Re: How does eclipse handle linked java files in an Ant build file? [message #334653 is a reply to message #334633] Mon, 23 February 2009 15:02 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Linked content has long been a problem for the headless build. This is
because PDE/Build which generates these ant scripts does not know about
the workspace and the resource model.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=66177
https://bugs.eclipse.org/bugs/show_bug.cgi?id=101966
https://bugs.eclipse.org/bugs/show_bug.cgi?id=113704
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168365

This would be one of the things that could be addressed by the
ever-elusive "Make PDE/Build fully workspace aware" which we like to
dream about every once in a while.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=106594


One way around this would be to copy the linked resources locally using
a pre compile custom callback
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.pde.doc.user/tasks/pde_custom_callbacks.htm

-Andrew
Raymond wrote:
> Hey,
>
> I moved this post from eclipse.platform.pde to here.
>
> I tried to export Ant build file using the Ant buildfiles export wizard.
> However, it seemed it did not handle linked java files. For example, I
> have a simple java project which contains a linked java file in the
> source folder. I export the Ant build file for this project. I check the
> generated Ant build file but did not find anything in the file which
> handles the linked java file. I ran it outside of eclipse and the linke
> file was not compiled. If there is a linked folder, I saw the generated
> Ant build file handled it correctly. I am not sure if this is a
> un-implemented feature? or it is not supposed to be supported?
>
> Thanks.
>
Previous Topic:How to create different CellEditors per row?
Next Topic:Text Editor: Totally hiding regions of the text
Goto Forum:
  


Current Time: Wed Jul 17 16:54:14 GMT 2024

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

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

Back to the top