Re: Where and how to set environment variables?
Hey gb, it's working and thanks for the information. -Conrad > [EMAIL PROTECTED] wrote: > > >Hi gd, would I add the below two lines before my > > > > > > > >Then I'm taking that I can use ${java.home} within the javacc tag. > > > > > i have never used javacc, although from the ant task description this seems valid > > > > > target="src/javacc/grammar/Parser.jj" > outputdirectory="${maven.build.dir}/javacc/src" /> > > best thing is to try it out.. > > -- gd > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
[EMAIL PROTECTED] wrote: Hi gd, would I add the below two lines before my Then I'm taking that I can use ${java.home} within the javacc tag. i have never used javacc, although from the ant task description this seems valid best thing is to try it out.. -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
Hi gd, would I add the below two lines before my Then I'm taking that I can use ${java.home} within the javacc tag. Thanks in advance, -Conrad > [EMAIL PROTECTED] wrote: > > >Hi, I was wondering, where and how would I set environment variables within Maven? > >For example, I'm trying to convert the following task attribute within my > >'maven.xml': > > > > > > something like that should do it : > > > > > -- gd > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
Hi, I would like to set it too an environment variable instead of hard coding it into my maven.xml. Is this possible? At this time, I haven't been able to locate a javacc plugin for Maven. If there is one, could someone send me the relevant link? Thanks in advance, -Conrad > In the Ant Optional task documentation under JavaCC, it says you can set the > javacchome variable for that task, so you wouldn't need an env var. If maven > has a javacc plugin, but it won't take a property for javacchome, you'll have > to modify the plugin.jelly for that plugin or just use the ant task. > > http://ant.apache.org/manual/OptionalTasks/javacc.html > > -jake > > > On Friday 02 January 2004 05:43 pm, [EMAIL PROTECTED] wrote: > > Hi, I was wondering, where and how would I set environment variables within > > Maven? For example, I'm trying to convert the following task attribute > > within my 'maven.xml': > > > > javacchome="${env.JAVACC_HOME}/bin/lib > > > > Thanks in advance, > > > > -Conrad > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
In the Ant Optional task documentation under JavaCC, it says you can set the javacchome variable for that task, so you wouldn't need an env var. If maven has a javacc plugin, but it won't take a property for javacchome, you'll have to modify the plugin.jelly for that plugin or just use the ant task. http://ant.apache.org/manual/OptionalTasks/javacc.html -jake On Friday 02 January 2004 05:43 pm, [EMAIL PROTECTED] wrote: > Hi, I was wondering, where and how would I set environment variables within > Maven? For example, I'm trying to convert the following task attribute > within my 'maven.xml': > > javacchome="${env.JAVACC_HOME}/bin/lib > > Thanks in advance, > > -Conrad > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where and how to set environment variables?
[EMAIL PROTECTED] wrote: Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm trying to convert the following task attribute within my 'maven.xml': something like that should do it : -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where and how to set environment variables?
Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm trying to convert the following task attribute within my 'maven.xml': javacchome="${env.JAVACC_HOME}/bin/lib Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]