Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Calling site build from ant script
Calling site build from ant script [message #122871] Thu, 04 September 2003 19:01 Go to next message
Eclipse UserFriend
Originally posted by: matt_conway.nospam.i2.com

Is there anyway to build an update site project from an ant script?

Ideally, I'd like to be able to just run an ant script in an UpdateSite
project and have it build all the features and plugins it has
conifigured, and then push them and the site.xml to a website.

The only thing I see that might be of use is the eclipse.buildScript
task for generating an ant script for features/plugins, but there
doesn't seem to be an equivalent for site.xml - I could parse
site.xml/sitebuild.xml and do the right thing, but since this is already
automated in the UI, shouldn't there also be a way to do it via an ant task?

Matt
Re: Calling site build from ant script [message #122887 is a reply to message #122871] Thu, 04 September 2003 20:51 Go to previous messageGo to next message
Eclipse UserFriend
You could use the PDE wizard to create a Update Site Project for you?
Very simple to use.

Chris

"Matt Conway" <matt_conway@nospam.i2.com> wrote in message
news:bj8g76$6hl$1@eclipse.org...
> Is there anyway to build an update site project from an ant script?
>
> Ideally, I'd like to be able to just run an ant script in an UpdateSite
> project and have it build all the features and plugins it has
> conifigured, and then push them and the site.xml to a website.
>
> The only thing I see that might be of use is the eclipse.buildScript
> task for generating an ant script for features/plugins, but there
> doesn't seem to be an equivalent for site.xml - I could parse
> site.xml/sitebuild.xml and do the right thing, but since this is already
> automated in the UI, shouldn't there also be a way to do it via an ant
task?
>
> Matt
>
Re: Calling site build from ant script [message #123099 is a reply to message #122887] Fri, 05 September 2003 10:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matt_conway.nospam.i2.com

I already have an Update Site project - what I want to do is add an ant
build script to it which will call the build step that I normally call
from the site.xml editor UI. This way I can automate the distribution
of my features - i.e. update cvs, label, build, distribute all
automatically instead of me having to clickity click click =)

Matt

Chris Laffra wrote:

> You could use the PDE wizard to create a Update Site Project for you?
> Very simple to use.
>
> Chris
>
> "Matt Conway" <matt_conway@nospam.i2.com> wrote in message
> news:bj8g76$6hl$1@eclipse.org...
>
>>Is there anyway to build an update site project from an ant script?
>>
>>Ideally, I'd like to be able to just run an ant script in an UpdateSite
>>project and have it build all the features and plugins it has
>>conifigured, and then push them and the site.xml to a website.
>>
>>The only thing I see that might be of use is the eclipse.buildScript
>>task for generating an ant script for features/plugins, but there
>>doesn't seem to be an equivalent for site.xml - I could parse
>>site.xml/sitebuild.xml and do the right thing, but since this is already
>>automated in the UI, shouldn't there also be a way to do it via an ant
Re: Calling site build from ant script [message #169602 is a reply to message #122887] Fri, 12 December 2003 06:43 Go to previous messageGo to next message
Eclipse UserFriend
"Chris Laffra" <Chris_Laffra@oti.com> writes:

> You could use the PDE wizard to create a Update Site Project for you?
> Very simple to use.

What about doing this with ANT?

Frank.
Re: Calling site build from ant script [message #180666 is a reply to message #123099] Thu, 15 January 2004 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.ellis.ascentialsoftware.com

Matt,

Did you ever find out how to automate an update site build using ant or any
other means?

- John

"Matt Conway" <matt_conway@nospam.i2.com> wrote in message
news:bja85i$kpb$1@eclipse.org...
> I already have an Update Site project - what I want to do is add an ant
> build script to it which will call the build step that I normally call
> from the site.xml editor UI. This way I can automate the distribution
> of my features - i.e. update cvs, label, build, distribute all
> automatically instead of me having to clickity click click =)
>
> Matt
>
> Chris Laffra wrote:
>
> > You could use the PDE wizard to create a Update Site Project for you?
> > Very simple to use.
> >
> > Chris
> >
> > "Matt Conway" <matt_conway@nospam.i2.com> wrote in message
> > news:bj8g76$6hl$1@eclipse.org...
> >
> >>Is there anyway to build an update site project from an ant script?
> >>
> >>Ideally, I'd like to be able to just run an ant script in an UpdateSite
> >>project and have it build all the features and plugins it has
> >>conifigured, and then push them and the site.xml to a website.
> >>
> >>The only thing I see that might be of use is the eclipse.buildScript
> >>task for generating an ant script for features/plugins, but there
> >>doesn't seem to be an equivalent for site.xml - I could parse
> >>site.xml/sitebuild.xml and do the right thing, but since this is already
> >>automated in the UI, shouldn't there also be a way to do it via an ant
>
Re: Calling site build from ant script [message #183769 is a reply to message #180666] Thu, 22 January 2004 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: matt_conway.nospam.i2.com

Nope - I started doing something by hand - basically calling the right
targets in the generated buildfile (which would still have to be
generated manually from the ui), but ran into some bugs (I think) in PDE
which prevented me from doing what I needed.

Matt


John Ellis wrote:
> Matt,
>
> Did you ever find out how to automate an update site build using ant or any
> other means?
Previous Topic:Unable to add an editor contributor class in an RCP app, exception: Group not found: group.editor
Next Topic:Attaching properties to files and folders, howto?
Goto Forum:
  


Current Time: Sat May 10 08:13:41 EDT 2025

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

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

Back to the top