Re: How to check if a command line option is set from within a Maven plugin

2004-10-18 Thread Gisbert Amm
Sorry for the delay; I had to work on other things in the meantime. I finally solved my problem by myself since I knew from your message that it should definitely work. What I found out ist the following: I tried to check ${!empty(systemScope['some.variable'])} which always returned false (the

Re: How to check if a command line option is set from within a Maven plugin

2004-10-14 Thread Gisbert Amm
system property (-D) Brett Porter wrote: do you mean maven option (-o, -X, etc) or system property (-D)? On Wed, 13 Oct 2004 18:10:59 +0200, Gisbert Amm [EMAIL PROTECTED] wrote: Hi, I need to check from within a Maven plugin if a certain command line option is set or not. How do I do that? In

Re: How to check if a command line option is set from within a Maven plugin

2004-10-14 Thread Brett Porter
${systemScope} should definitely work. Do you have a small test case that reproduces it? On Thu, 14 Oct 2004 08:51:17 +0200, Gisbert Amm [EMAIL PROTECTED] wrote: system property (-D) Brett Porter wrote: do you mean maven option (-o, -X, etc) or system property (-D)? On Wed, 13

How to check if a command line option is set from within a Maven plugin

2004-10-13 Thread Gisbert Amm
Hi, I need to check from within a Maven plugin if a certain command line option is set or not. How do I do that? In systemScope I do not see these variables and I cannot find out where it might be written down. Any help would be highly appreciated. Regards, Gisbert Amm

Re: How to check if a command line option is set from within a Maven plugin

2004-10-13 Thread Brett Porter
do you mean maven option (-o, -X, etc) or system property (-D)? On Wed, 13 Oct 2004 18:10:59 +0200, Gisbert Amm [EMAIL PROTECTED] wrote: Hi, I need to check from within a Maven plugin if a certain command line option is set or not. How do I do that? In systemScope I do not see these