Where and how to set environment variables?

2004-01-02 Thread conradwt
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

Re: Where and how to set environment variables?

2004-01-02 Thread Gilles Dodinet
[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 : ant:property environment=env/ ant:property name=javacc.home

Re: Where and how to set environment variables?

2004-01-02 Thread Jake Ewerdt
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

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
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

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi gd, would I add the below two lines before my javacc ... / 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

Re: Where and how to set environment variables?

2004-01-02 Thread Gilles Dodinet
[EMAIL PROTECTED] wrote: Hi gd, would I add the below two lines before my javacc ... / 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 ant:property environment=env/ ant:property

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
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 javacc ... / Then I'm taking that I can use ${java.home} within the javacc tag. i have never used javacc, although from the ant task