Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Application args - ${user.name}
Application args - ${user.name} [message #203055] Wed, 11 May 2005 03:30 Go to next message
Eclipse UserFriend
Originally posted by: patrik.schalin.ericsson.com

Hi,

Sorry if this is a re-post, but I haven't been able to find any answer to
this one.

In my launch config I would like to specify property ids as arguments for my
app to translate. E.g. I can have a pattern for log4j formatting as an
application argument.

In the launch config I would therefor like to have arguments such as
${user.name} without having Eclipse trying to locate the value. Is there any
escape character for these constructs or can I specify the property in
another way?

Br
Patrik
Re: Application args - ${user.name} [message #203112 is a reply to message #203055] Wed, 11 May 2005 10:23 Go to previous messageGo to next message
Eclipse UserFriend
I beleive you should enter an enhancement request. We support various
variables that can be used for passing arguments to a launched process. See
the "Variables" button on the Arguments tab of a Java launch config.
However, we do not have a variable for system properties such as
"user.name". I would suggest to enter an enhamcement request to support a
variable like "${system_property:property_name}".

Darin

"Patrik Schalin" <patrik.schalin@ericsson.com> wrote in message
news:d5scq7$dbe$1@news.eclipse.org...
> Hi,
>
> Sorry if this is a re-post, but I haven't been able to find any answer to
> this one.
>
> In my launch config I would like to specify property ids as arguments for
> my
> app to translate. E.g. I can have a pattern for log4j formatting as an
> application argument.
>
> In the launch config I would therefor like to have arguments such as
> ${user.name} without having Eclipse trying to locate the value. Is there
> any
> escape character for these constructs or can I specify the property in
> another way?
>
> Br
> Patrik
>
>
Re: Application args - ${user.name} [message #203545 is a reply to message #203112] Mon, 16 May 2005 03:30 Go to previous message
Eclipse UserFriend
Originally posted by: patrik.schalin.ericsson.com

Hi,

Thanks for your reply, maybe I should enter that request becuase I bet other
should benefit from that too...

The workaround would be to enter all these properties in a file and supply
the path to that file as argument instead...I guess...

"Darin Wright" <Darin_Wright@ca.ibm.com> wrote in message
news:d5t50j$e2i$1@news.eclipse.org...
> I beleive you should enter an enhancement request. We support various
> variables that can be used for passing arguments to a launched process.
See
> the "Variables" button on the Arguments tab of a Java launch config.
> However, we do not have a variable for system properties such as
> "user.name". I would suggest to enter an enhamcement request to support a
> variable like "${system_property:property_name}".
>
> Darin
>
> "Patrik Schalin" <patrik.schalin@ericsson.com> wrote in message
> news:d5scq7$dbe$1@news.eclipse.org...
> > Hi,
> >
> > Sorry if this is a re-post, but I haven't been able to find any answer
to
> > this one.
> >
> > In my launch config I would like to specify property ids as arguments
for
> > my
> > app to translate. E.g. I can have a pattern for log4j formatting as an
> > application argument.
> >
> > In the launch config I would therefor like to have arguments such as
> > ${user.name} without having Eclipse trying to locate the value. Is there
> > any
> > escape character for these constructs or can I specify the property in
> > another way?
> >
> > Br
> > Patrik
> >
> >
>
>
Previous Topic:Mac Plugin Code Anomalies
Next Topic:How to create WIZARD tutorial
Goto Forum:
  


Current Time: Thu Mar 13 15:59:15 EDT 2025

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

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

Back to the top