Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Platform independent Ant buildfile for a plugin
Platform independent Ant buildfile for a plugin [message #293602] Wed, 26 October 2005 15:40 Go to next message
Eclipse UserFriend
Hi,

does anybody have any experience in creating a platform independet
buildfile for an Eclipse plugin?

I am developing a plugin which depends on SWT. So if the plugin is built
on a Windows system it has to be compiled with
org.eclipse.swt.win32.win32.x86_*.jar. If it is built on any other
system then the appropriate library of SWT has to be used.

Can this be done in one build file, or is it more common to use one
build file for each system?

Thanks in advance.

Peter
Re: Platform independent Ant buildfile for a plugin [message #293606 is a reply to message #293602] Wed, 26 October 2005 17:22 Go to previous messageGo to next message
Eclipse UserFriend
Within eclipse there are examples of our attempts at this within a single
buildfile.

See org.eclipse.ant.ui/buildfiles/buildExtraJAR.xml
Not necessarily pretty but it does work :-)

HTH
Darins

"Peter Lanser" <peter@two-toned.at> wrote in message
news:djom3l$eq0$1@news.eclipse.org...
> Hi,
>
> does anybody have any experience in creating a platform independet
> buildfile for an Eclipse plugin?
>
> I am developing a plugin which depends on SWT. So if the plugin is built
> on a Windows system it has to be compiled with
> org.eclipse.swt.win32.win32.x86_*.jar. If it is built on any other
> system then the appropriate library of SWT has to be used.
>
> Can this be done in one build file, or is it more common to use one
> build file for each system?
>
> Thanks in advance.
>
> Peter
Re: Platform independent Ant buildfile for a plugin [message #293619 is a reply to message #293606] Thu, 27 October 2005 05:47 Go to previous message
Eclipse UserFriend
It works for me. Thanks!

Peter

Darin Swanson wrote:

> Within eclipse there are examples of our attempts at this within a single
> buildfile.
>
> See org.eclipse.ant.ui/buildfiles/buildExtraJAR.xml
> Not necessarily pretty but it does work :-)
>
> HTH
> Darins
>
> "Peter Lanser" <peter@two-toned.at> wrote in message
> news:djom3l$eq0$1@news.eclipse.org...
>
>>Hi,
>>
>>does anybody have any experience in creating a platform independet
>>buildfile for an Eclipse plugin?
>>
>>I am developing a plugin which depends on SWT. So if the plugin is built
>>on a Windows system it has to be compiled with
>>org.eclipse.swt.win32.win32.x86_*.jar. If it is built on any other
>>system then the appropriate library of SWT has to be used.
>>
>>Can this be done in one build file, or is it more common to use one
>>build file for each system?
>>
>>Thanks in advance.
>>
>>Peter
>
>
>
Previous Topic:How could we redirect the output to console view?
Next Topic:problems using the feature export editor
Goto Forum:
  


Current Time: Thu Jul 17 21:32:39 EDT 2025

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

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

Back to the top