forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Sudbrock <HSudbr...@web.de>
Subject Re: [Forrest Eclipse Plugin] Usage of Eclipse Ant Plugin
Date Fri, 28 Oct 2005 07:28:49 GMT


dev@forrest.apache.org schrieb am 28.10.05 03:16:12:
> 
> Ross Gardler wrote:
> > Henning Sudbrock wrote:
> > >-----BEGIN PGP SIGNED MESSAGE-----
> > >Hash: SHA1
> > >
> > >Hi,
> > >
> > >I just tried to get the Forrest Eclipse Plugin running and got into some
> > >trouble. While solving it I realized that when seeding a new Forrest
> > >Project with the plugin, the plugin calls the forrest.bat batch file in
> > >$FORREST_HOME$\bin through a Java-Process-Object, creating some strange
> > >errors, due to the following problem:
> > >
> > >Running forrest.bat under Windows in C:\ (i.e. in the root dir) will
> > >fail (at least on my computer), but running forrest.bat in some
> > >subdirectory like C:\TEST causes no problem at all.
> > 
> > Why would you be running forrest.bat in the root?
> > 
> > >To resolve that particular problem with the Eclipse plugin, and besides
> > >that to get rid of OS dependency, I would suggest to run ant from
> > >Eclipse directly, not via the forrest.bat batch file (resp. the forrest
> > >Shell Script under Linux). I think that one can use Eclipse's Ant-Plugin
> > >to do that.
> > >
> > >If there are no objections and if you'd like to get some assistance with
> > >the Forrest Eclipse Plugin, I could try my best, starting with this
> > >problem :)
> > 
> > When I wrote the original Eclipse plugin I did it this way because 
> > Forrest was using a newer version of Ant than was shipped in Eclipse. If 
> > this is no longer the case then I agree with your proposal.
> 
> Forrest uses its own packaged version of Ant so
> that we have a known version and so that our users
> don't need to install it. Our version needs to be updated.
> 
> If people don't use Forrest's Ant, then they need to
> be aware of the issues mentioned at:
> http://forrest.apache.org/docs_0_80/howto/howto-buildPlugin.html#ant
> and maybe other issues too. 

One could just use Forrest's ant jar packages from within Eclipse, that seems better than
the batch file / shell script.

--Henning

> 
> -David
> 
> > Your contribution would be gratefully accepted.
> > 
> > Ross

-- 
################
Henning Sudbrock
hsudbrock@web.de
################
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


Mime
View raw message