Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Problems in starting eclipse Antrunner from console
Problems in starting eclipse Antrunner from console [message #91862] Wed, 03 September 2003 16:12 Go to next message
Eclipse UserFriend
Originally posted by: mayer.markus.gmx.at

Hi,
I'd like to start eclipse's Antrunner from the command-line to execute
eclipse ant-scripts in a nightly build. i'm issuing the following command
on the command line:

c:\jdk1.3.1_01\jre\bin\java.exe -Xmx256m -cp
C:\programme\eclipse\startup.jar org.eclipse.core.launcher.Main
-application org.eclipse.ant.core.antRunner -data
C:\vp\DEVELOP\entwicklungsumgebung\eclipse\workspace\ -file metrics.xml

but the only thing that happens is that eclipse creates a folder named
"workspace" in the current directory

Anybody already tried to do something similar?

thanks in advance,
markus
Re: Problems in starting eclipse Antrunner from console [message #91878 is a reply to message #91862] Wed, 03 September 2003 16:18 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Specify -noupdate as one of the args

c:\jdk1.3.1_01\jre\bin\java.exe -Xmx256m -cp
C:\programme\eclipse\startup.jar org.eclipse.core.launcher.Main
-noupdate -application org.eclipse.ant.core.antRunner -data
C:\vp\DEVELOP\entwicklungsumgebung\eclipse\workspace\ -file metrics.xml

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=21617
Darins

"markus mayer" <mayer.markus@gmx.at> wrote in message
news:bj53sh$rn1$1@eclipse.org...
> Hi,
> I'd like to start eclipse's Antrunner from the command-line to execute
> eclipse ant-scripts in a nightly build. i'm issuing the following command
> on the command line:
>
> c:\jdk1.3.1_01\jre\bin\java.exe -Xmx256m -cp
> C:\programme\eclipse\startup.jar org.eclipse.core.launcher.Main
> -application org.eclipse.ant.core.antRunner -data
> C:\vp\DEVELOP\entwicklungsumgebung\eclipse\workspace\ -file metrics.xml
>
> but the only thing that happens is that eclipse creates a folder named
> "workspace" in the current directory
>
> Anybody already tried to do something similar?
>
> thanks in advance,
> markus
>
>
Re: Problems in starting eclipse Antrunner from console [message #92033 is a reply to message #91878] Thu, 04 September 2003 06:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mayer.markus.gmx.at

hi darin,
thanks for your swift reply to my question. you suggested to include the
"-noupdate" parameter. but i think i did that. the command i use is

c:\jdk1.3.1_01\jre\bin\java.exe -Xmx256m -cp
C:\programme\eclipse\startup.jar org.eclipse.core.launcher.Main -noupdate
-application org.eclipse.ant.core.antRunner -data
C:\vp\DEVELOP\entwicklungsumgebung\eclipse\workspace\ -file metrics.xml

if i omit the -noupdate flag the command starts up the eclipse ide with a
new empty workspace

eclipse is in: c:\programme\eclipse
jdk is in: c:\jdk1.3.1_01\
workspace is at: c:\vp\develop\entwicklungsumgebung\eclipse\workspace

btw. is there any documentation on how to access this functionality from
the command line?

thanks,
markus

Darin Swanson wrote:

> Specify -noupdate as one of the args

> c:jdk1.3.1_01jrebinjava.exe -Xmx256m -cp
> C:programmeeclipsestartup.jar org.eclipse.core.launcher.Main
> -noupdate -application org.eclipse.ant.core.antRunner -data
> C:vpDEVELOPentwicklungsumgebungeclipseworkspace -file metrics.xml

> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=21617
> Darins

> "markus mayer" <mayer.markus@gmx.at> wrote in message
> news:bj53sh$rn1$1@eclipse.org...
> > Hi,
> > I'd like to start eclipse's Antrunner from the command-line to execute
> > eclipse ant-scripts in a nightly build. i'm issuing the following command
> > on the command line:
> >
> > c:jdk1.3.1_01jrebinjava.exe -Xmx256m -cp
> > C:programmeeclipsestartup.jar org.eclipse.core.launcher.Main
> > -application org.eclipse.ant.core.antRunner -data
> > C:vpDEVELOPentwicklungsumgebungeclipseworkspace -file metrics.xml
> >
> > but the only thing that happens is that eclipse creates a folder named
> > "workspace" in the current directory
> >
> > Anybody already tried to do something similar?
> >
> > thanks in advance,
> > markus
> >
> >
Re: Problems in starting eclipse Antrunner from console [message #92444 is a reply to message #92033] Thu, 04 September 2003 15:48 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
You original posting did not include -noupdate in your commandline string.
With your latest command I see no reason why it would not work.

Currently I am your documentation.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=41819

Darins

"markus mayer" <mayer.markus@gmx.at> wrote in message
news:bj6mfl$9oc$1@eclipse.org...
> hi darin,
> thanks for your swift reply to my question. you suggested to include the
> "-noupdate" parameter. but i think i did that. the command i use is
>
> c:\jdk1.3.1_01\jre\bin\java.exe -Xmx256m -cp
> C:\programme\eclipse\startup.jar org.eclipse.core.launcher.Main -noupdate
> -application org.eclipse.ant.core.antRunner -data
> C:\vp\DEVELOP\entwicklungsumgebung\eclipse\workspace\ -file metrics.xml
>
> if i omit the -noupdate flag the command starts up the eclipse ide with a
> new empty workspace
>
> eclipse is in: c:\programme\eclipse
> jdk is in: c:\jdk1.3.1_01\
> workspace is at: c:\vp\develop\entwicklungsumgebung\eclipse\workspace
>
> btw. is there any documentation on how to access this functionality from
> the command line?
>
> thanks,
> markus
>
> Darin Swanson wrote:
>
> > Specify -noupdate as one of the args
>
> > c:jdk1.3.1_01jrebinjava.exe -Xmx256m -cp
> > C:programmeeclipsestartup.jar org.eclipse.core.launcher.Main
> > -noupdate -application org.eclipse.ant.core.antRunner -data
> > C:vpDEVELOPentwicklungsumgebungeclipseworkspace -file metrics.xml
>
> > See https://bugs.eclipse.org/bugs/show_bug.cgi?id=21617
> > Darins
>
> > "markus mayer" <mayer.markus@gmx.at> wrote in message
> > news:bj53sh$rn1$1@eclipse.org...
> > > Hi,
> > > I'd like to start eclipse's Antrunner from the command-line to execute
> > > eclipse ant-scripts in a nightly build. i'm issuing the following
command
> > > on the command line:
> > >
> > > c:jdk1.3.1_01jrebinjava.exe -Xmx256m -cp
> > > C:programmeeclipsestartup.jar org.eclipse.core.launcher.Main
> > > -application org.eclipse.ant.core.antRunner -data
> > > C:vpDEVELOPentwicklungsumgebungeclipseworkspace -file metrics.xml
> > >
> > > but the only thing that happens is that eclipse creates a folder named
> > > "workspace" in the current directory
> > >
> > > Anybody already tried to do something similar?
> > >
> > > thanks in advance,
> > > markus
> > >
> > >
>
>
Previous Topic:Could not find the main class, when starting Tomcat.
Next Topic:xdoclet tasks with autocomplete
Goto Forum:
  


Current Time: Sun Dec 22 06:27:32 GMT 2024

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

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

Back to the top