davestiff
(davestiff)
October 23, 2013, 10:54am
1
Hi,
I have this variable set in the User and System variables. Not sure why I get this error when running an Ant action.
Error | Ant Project | Ant Project | 16:42:06 | 16:42:06 | 00:00:00 | ---------------|--------------------------|---------------------------------------------------------------------------------|------------|----------|----------| ANT_HOME environment variable not set.
My variables are:
ANT_HOME=C:\Program Files\apache-ant-1.9.2
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_30
Please advise.
Thanks,
Dave
Windows 2008 Server R2 64-bit
FinalBuilder 7 Build 2538
Vincent
(Vincent Parrett)
October 24, 2013, 12:11pm
2
You need to make the variable available as an Environment Variable. There is an option for this on the edit variable form.
davestiff
(davestiff)
October 24, 2013, 2:32am
3
Hi,
I don't think I understand. I have ANT_HOME defined as a Windows Environment Variable and it displays in the list in FinalBuilder:
Attachment unavailable
Vincent
(Vincent Parrett)
October 24, 2013, 2:50am
4
That should be enough. Processes started from FinalBuilder get the same environment block as it has, plus any additional env vars it defines. Did you define the variable for all users or current user? Is the build running under the same user? Try running a dos command action, make the command : set and see what variables are listed.
davestiff
(davestiff)
October 24, 2013, 3:08am
5
Hi,
I rebooted the machine and FinalBuilder is using the Environment Variables now.
Thanks,
Dave