Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Build Eclipse project without starting IDE
Build Eclipse project without starting IDE [message #70899] Wed, 11 June 2003 10:18 Go to next message
Eclipse UserFriend
Originally posted by: AOPHPSEJKMNN.spammotel.com

We have a large number of (big) Java packages. These packages need to be
built every night. Obviously, we want to build them with as little overhead
as possible. At this moment we use JBuilder for the maintenance and the
compilation of all the packages (all dependencies, the classpath etc. is
stored in a JBuilder project file for each package; JBuilder provides the
option to build a project using these settings without starting the IDE). We
have a compilation script that checks the packages out of CVS, and builds
them using JBuilder (and all configuration options for each package as
defined in the JBuilder config file for that package).

We are thinking of using Eclipse instead. But, no matter where I look, I
cannot find examples on how to build an Eclipse project without starting the
Eclipse IDE.
Is there a way to do this? If so, how?

Thanks in advance,

Arno Brouwer
Xelion BV
Netherlands
Re: Build Eclipse project without starting IDE [message #70953 is a reply to message #70899] Wed, 11 June 2003 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cecconae.ig.com.br

Arno wrote:

> We have a large number of (big) Java packages. These packages need to be
> built every night. Obviously, we want to build them with as little overhead
> as possible. At this moment we use JBuilder for the maintenance and the
> compilation of all the packages (all dependencies, the classpath etc. is
> stored in a JBuilder project file for each package; JBuilder provides the
> option to build a project using these settings without starting the IDE). We
> have a compilation script that checks the packages out of CVS, and builds
> them using JBuilder (and all configuration options for each package as
> defined in the JBuilder config file for that package).

> We are thinking of using Eclipse instead. But, no matter where I look, I
> cannot find examples on how to build an Eclipse project without starting the
> Eclipse IDE.
> Is there a way to do this? If so, how?

> Thanks in advance,

> Arno Brouwer
> Xelion BV
> Netherlands


Hi, Arno :

You could customize build.xml that Eclipse provides and
make a script that runs ANT in a command prompt. See ANT
site to see how do that.

Sincerely,

Antonio Edson Ceccon
Re: Build Eclipse project without starting IDE [message #71015 is a reply to message #70953] Wed, 11 June 2003 11:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: AOPHPSEJKMNN.spammotel.com

"Antonio Edson Ceccon" <cecconae@ig.com.br> wrote in message
news:bc7eqt$sdh$1@rogue.oti.com...
> Arno wrote:
>
> > We have a large number of (big) Java packages. These packages need to be
> > built every night. Obviously, we want to build them with as little
overhead
> > as possible. At this moment we use JBuilder for the maintenance and the
> > compilation of all the packages (all dependencies, the classpath etc. is
> > stored in a JBuilder project file for each package; JBuilder provides
the
> > option to build a project using these settings without starting the
IDE). We
> > have a compilation script that checks the packages out of CVS, and
builds
> > them using JBuilder (and all configuration options for each package as
> > defined in the JBuilder config file for that package).
>
> > We are thinking of using Eclipse instead. But, no matter where I look, I
> > cannot find examples on how to build an Eclipse project without starting
the
> > Eclipse IDE.
> > Is there a way to do this? If so, how?
>
> > Thanks in advance,
>
> > Arno Brouwer
> > Xelion BV
> > Netherlands
>
>
> Hi, Arno :
>
> You could customize build.xml that Eclipse provides and
> make a script that runs ANT in a command prompt. See ANT
> site to see how do that.

But won't that mean that the build.xml file needs to be modified every time
some aspects of the package (for instance its dependencies) change?

Arno.
Re: Build Eclipse project without starting IDE [message #71094 is a reply to message #71015] Wed, 11 June 2003 12:25 Go to previous message
Eclipse UserFriend
Originally posted by: m_heisterberg.hotmail.com

In Ant you can read e.g. classpath dependencies from an external properties
file. We use this at my company to customize a standard build file and read
version numbers, package names etc. from external files. We actually use 3
files (where one is optional) to build:
1. build.xml (the actual build script) - kept in CVS
2. project.properties (holds system name, version etc.) - kept in CVS
3. custom.properties (allowing individual developers to override some or all
of the settings from build.properties) - NOT kept in CVS

This gives a very flexible build environment that can be tailored by the
individual developer if need be without customizing common settings such as
version numbers etc.

lekkim

"Arno" <AOPHPSEJKMNN@spammotel.com> wrote in message
news:bc7hki$v9m$1@rogue.oti.com...
> "Antonio Edson Ceccon" <cecconae@ig.com.br> wrote in message
> news:bc7eqt$sdh$1@rogue.oti.com...
> > Arno wrote:
> >
> > > We have a large number of (big) Java packages. These packages need to
be
> > > built every night. Obviously, we want to build them with as little
> overhead
> > > as possible. At this moment we use JBuilder for the maintenance and
the
> > > compilation of all the packages (all dependencies, the classpath etc.
is
> > > stored in a JBuilder project file for each package; JBuilder provides
> the
> > > option to build a project using these settings without starting the
> IDE). We
> > > have a compilation script that checks the packages out of CVS, and
> builds
> > > them using JBuilder (and all configuration options for each package as
> > > defined in the JBuilder config file for that package).
> >
> > > We are thinking of using Eclipse instead. But, no matter where I look,
I
> > > cannot find examples on how to build an Eclipse project without
starting
> the
> > > Eclipse IDE.
> > > Is there a way to do this? If so, how?
> >
> > > Thanks in advance,
> >
> > > Arno Brouwer
> > > Xelion BV
> > > Netherlands
> >
> >
> > Hi, Arno :
> >
> > You could customize build.xml that Eclipse provides and
> > make a script that runs ANT in a command prompt. See ANT
> > site to see how do that.
>
> But won't that mean that the build.xml file needs to be modified every
time
> some aspects of the package (for instance its dependencies) change?
>
> Arno.
>
>
Previous Topic:Views Article: getImageDescriptor throws NullPointerException
Next Topic:GTK version w/wheel mouse - smooth scroll problem
Goto Forum:
  


Current Time: Tue May 06 19:37:48 EDT 2025

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

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

Back to the top