ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cam Antonuccio" <c...@netlink.com.au>
Subject Problem with <property environment=> Windows XP Pro
Date Thu, 14 Nov 2002 22:47:31 GMT
Hi,

I am having problems with the
<property environment="osEnv"/>
command.

I am using ant 1.4.1 from within eclipse 2.0.1
The operating system is Windows XP Pro.

I don't seem to be able to read my environment variables and I get a null
pointer exception.
Here are the details (below). Is this a known problem?
I had no problems doing the same with Windows 2000 or Linux.

Cam

Hi,

I am having problems with the
<property environment="osEnv"/>
command.

I am using ant 1.4.1 from within eclipse 2.0.1
The operating system is Windows XP Pro.

I don't seem to be able to read my environment variables and I get a null
pointer exception.
Here are the details (below). Is this a known problem?
I had no problems doing the same with Windows 2000 or Linux.

Cam

Loading Environment osEnv.
Build exception: java.lang.NullPointerException
Build exception: java.lang.NullPointerException
java.lang.NullPointerException
	at
org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:253)
	at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183)
	at org.apache.tools.ant.Task.perform(Task.java:217)
	at org.apache.tools.ant.Target.execute(Target.java:184)
	at org.apache.tools.ant.Target.performTasks(Target.java:202)
	at org.apache.tools.ant.Project.executeTarget(Project.java:601)
	at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.ja
va:264)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:233)
	at
org.eclipse.ui.externaltools.internal.core.AntFileRunner.execute(AntFileRunn
er.java:59)
	at
org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.executeRunne
r(DefaultRunnerContext.java:413)
	at
org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.run(DefaultR
unnerContext.java:464)
	at
org.eclipse.ui.externaltools.internal.ui.ExternalToolsAction$4.run(ExternalT
oolsAction.java:202)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext
.java:98)
Build exception: java.lang.NullPointerException



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message