Bug 24316 - NullPointerException on 'Run Ant'
Summary: NullPointerException on 'Run Ant'
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-10-02 10:26 EDT by Peter Tillemans CLA
Modified: 2002-10-31 11:32 EST (History)
1 user (show)

See Also:


Attachments
Configuration Detail (via Help, About Eclipse) (8.07 KB, text/plain)
2002-10-08 00:54 EDT, Michael Angelo Libio CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Tillemans CLA 2002-10-02 10:26:31 EDT
When I use "Run Ant" on the following build script --> NullPointerException 
before displaying the targets. I use the ant system in vailla flavour : I made 
no changes or additions in the ant preferences.

----------- cut here --------------
    <project name="newsapp" default="ear" basedir=".">

    <!-- ACCESS TO ENVIRONMENT USING env.-->
    <property environment="env"/>

    <!-- Must be defined on the command line
    	property model: local,stage,prod
    	property app: tvl,pi,test
     -->

    <property name="junit.ui"  value="text"/>

    <!-- Projects specifics -->
    <property file="userenv.properties"/>
    <property file="${app}.${model}.ant.properties"/>

    <!-- END of Projects specifics -->
    <property name="final.name"       value="${project}-${version}"/>
    <property name="jars.name"        value="${app}${model}"/>

    <!-- COMPILATION PARAMETERS -->
    <property name="build.compiler"   value="modern"/>
    <property name="debug"            value="on"/>

    <property name="cocoon.dir"        value="${opt.dir}/cocoon"/>
    <property name="cocoon.lib.dir"    value="${cocoon.dir}/lib"/>
    <property name="vm.dir"            value="${opt.dir}/${vm}"/>
    <property name="tomcat.dir"        value="${vm.dir}/catalina"/>
    <property name="client.dir"        value="${vm.dir}/client"/>
    <property name="jboss.dir"         value="${vm.dir}/server/${model}"/>
    <property name="jboss.lib.ext.dir" value="${jboss.dir}/lib"/>
    <property name="vm.lib.dir"        value="${vm.dir}/lib"/>
    <property name="opt.lib.dir"       value="${opt.dir}/lib"/>


    <!-- DIRECTORIES -->
    <property name="root.dir"        value=".."/>

    <property name="lib.dir"         value="lib"/>
    <property name="dist.dir"        value="dist"/>
    <property name="build.dir"       value="build"/>
    <property name="build.split.dir" value="build/split"/>
    <property name="srcBuild.dir"    value="${build.dir}/src"/>
    <property name="ejbapp.org"      value="${root.dir}/ejbapp"/>
    <property name="ejbapp.src"      value="${srcBuild.dir}/ejbapp"/>
    <property name="webapp.org"      value="${root.dir}/webapp"/>
    <property name="webapp.src"      value="${srcBuild.dir}/webapp"/>
    <property name="webapp.lib.dir"  value="${webapp.src}/web/WEB-INF/lib"/>

    <property name="earmetainf.org"     value="${root.dir}/META-INF"/>
    <property name="earmetainf.src"     value="${srcBuild.dir}/META-INF"/>

    <property name="tmp.dir"         value="${build.dir}/tmp"/>
    <property name="ejb.jar.dir"     value="${build.dir}/ejb"/>
    <property name="ear.dir"         value="${build.dir}/ear"/>
    <property name="war.dir"         value="${build.dir}/war"/>
    <property name="war.servlet.dir" value="${war.dir}/WEB-INF/classes"/>

    <!-- Deployment dirs -->
    <property name="deploy.jar.dir"    value="${vm.dir}/deploylib"/>
    <property name="deploy.ear.dir"    value="${jboss.dir}/deploy"/>

    <!-- FILES -->
    <property name="servlet.jar" value="${tomcat.dir}/common/lib/servlet.jar"/>

    <path id="ejb.classpath">
        <pathelement location="${ejb.jar.dir}"/>
        <pathelement location="${vm.lib.dir}/xerces.jar"/>

        <pathelement location="${opt.lib.dir}/cos.jar"/>
        <pathelement location="${opt.lib.dir}/lucene.jar"/>
        <pathelement location="${opt.lib.dir}/Tidy.jar"/>
        <pathelement location="${webapp.lib.dir}/junit.jar"/>
        <pathelement location="${webapp.lib.dir}/cocoon.jar"/>
        <pathelement location="${cocoon.lib.dir}/xalan_1_2_D02.jar"/>

        <pathelement location="${servlet.jar}"/>
        <pathelement location="${client.dir}/jboss-j2ee.jar"/>
        <pathelement location="${client.dir}/gnu-regexp.jar"/>
        <pathelement location="${jboss.lib.ext.dir}/mail.jar"/>

    </path>

    <path id="servlet.classpath">
        <!-- servlets need the ejb home and remote interfaces -->
        <path refid="ejb.classpath"/>

        <pathelement location="${opt.lib.dir}/JimiProClasses.zip"/>

        <pathelement location="${jboss.lib.ext.dir}/activation.jar"/>
        <!-- pathelement location="${jboss.lib.ext.dir}/soap.jar"/ -->

    </path>

    <path id="test.classpath">

        <pathelement location="./"/>

        <path refid="servlet.classpath"/>

        <fileset dir="${client.dir}">
          <include name="**/*.jar"/>
        </fileset>

    </path>

    <target name="dirs" description="Make directories for build env">

        <echo message="Building application for ${final.name}, model ${model} 
"/>

        <!-- MAKE THE DIRECTORIES IF NEEDED -->
        <mkdir dir="${build.dir}"/>
        <mkdir dir="${build.split.dir}"/>
        <mkdir dir="${srcBuild.dir}"/>
        <mkdir dir="${dist.dir}"/>
        <mkdir dir="${ejb.jar.dir}"/>
        <mkdir dir="${ejb.jar.dir}/META-INF"/>

        <mkdir dir="${tmp.dir}"/>
        <mkdir dir="${ear.dir}"/>
        <mkdir dir="${war.dir}"/>
        <mkdir dir="${war.servlet.dir}"/>

    </target>

    <target name="expandTokens" depends="dirs" description="Prepares build 
environment">

      <!-- Update all JNDI names with app specific -->
      <filter token="jndiPrefix" value="${jars.name}"/>
      <filter token="projectDescr" value="${final.name}"/>
      <filter token="app" value="${app}"/>
      <filter token="vm" value="${vm}"/>
      <filter token="opt.dir" value="${opt.dir}"/>
      <filter token="jars.name" value="${jars.name}"/>
      <filter filtersfile="${app}.${model}.ant.properties"/>


      <copy todir="${ejbapp.src}" filtering="on">
          <fileset dir="${ejbapp.org}">
          </fileset>
      </copy>

      <copy todir="${webapp.src}" filtering="on">
          <fileset dir="${webapp.org}">
              <exclude name="**/*.bak"/>
              <exclude name="**/*.gif"/>
              <exclude name="**/*.jpg"/>
              <exclude name="**/*.jar"/>
              <exclude name="**/*.class"/>
          </fileset>
      </copy>

      <!-- binary files are corrupted when filtered -->
      <copy todir="${webapp.src}" filtering="off">
          <fileset dir="${webapp.org}">
              <include name="**/*.gif"/>
              <include name="**/*.jpg"/>
              <include name="**/*.jar"/>
              <include name="**/*.class"/>
          </fileset>
      </copy>

      <copy todir="${earmetainf.src}" filtering="on">
          <fileset dir="${earmetainf.org}">
          </fileset>
      </copy>

    </target>


    <target name="prepare" depends="expandTokens" description="Prepares build 
environment">

    </target>


    <!-- ****************************************************************** -->
    <!-- IMPORTANT: the class path of XDoclet is build so it finds our      -->
    <!--            versions of the templates before its own versions       -->
    <!-- ****************************************************************** -->
    <path id="xdoclet.classpath">
        <!-- <pathelement location="${lib.dir}"/><!- - So XDoclet find our 
overrides before it's own -->
        <pathelement location="${lib.dir}/xdoclet-1.2.0/lib/xdoclet.jar"/>
        <fileset dir="${lib.dir}/xdoclet-1.2.0/lib">
          <include name="**/*.jar"/>
        </fileset>
        <fileset dir="${lib.dir}">
          <include name="**/*.jar"/>
        </fileset>
        <path refid="ejb.classpath"/>
        <pathelement location="${jboss.lib.ext.dir}/jboss-j2ee.jar"/> 
    </path>

    <target name="doclet" depends="">

      <taskdef name="XDoclet" classname="xdoclet.modules.ejb.EjbDocletTask"
                              classpathref="xdoclet.classpath"
      />

      <tstamp>
          <format property="TODAY" pattern="d-MM-yy"/>
      </tstamp>

      <XDoclet
             mergedir="${ejbapp.src}"
            destdir="${ejbapp.src}"
            addedtags="@xdoclet-generated at ${TODAY}"
            excludedtags="@version,@author"
            ejbspec="2.0"
        >

        <!-- <classpath refid="ejb.classpath"/>-->

        <fileset dir="${ejbapp.src}">
          <include name="**/*Bean.java"/>
          <include name="**/*MDB.java"/>
        </fileset>

        <packageSubstitution packages="ejb,beans" substituteWith="interfaces"/>

        <dataobject/>
        <remoteinterface pattern="{0}"/>
        <localinterface pattern="{0}Local"/>
        <homeinterface  />
        <localhomeinterface/>
        <entitypk />
        <entitycmp />
        <session />
        <utilobject pattern="{0}Utils" />

        <jboss version="3.0"
	       xmlencoding="UTF-8"
	       typemapping="${typemapping}"
           datasource="${datasource}"
		   destdir="${ejb.jar.dir}/META-INF"
		 />
        <deploymentdescriptor destdir="${ejb.jar.dir}/META-INF"/>

        <!-- <apachesoap destdir="${build.dir}/web" />-->

      </XDoclet>

    </target>

    <target name="ejbdoclet" depends="expandTokens" description="Generates Bean 
interfaces">

        <antcall target="doclet">
            <param name="param-package" value="**.ejb.*"/>
        </antcall>

        <!--fixcrlf srcdir="${ejbapp.src}" /-->

    </target>

    <target name="all-ejb" depends="expandTokens">
        <!-- COMPILE THE EJB CLASSES -->
        <javac  srcdir="${ejbapp.src}"
                destdir="${ejb.jar.dir}"
                includes="com/synegorie/**"
                deprecation="on"
                debug="on">
                <classpath refid="ejb.classpath"/>
        </javac>
        <copy todir="${ejb.jar.dir}">
            <fileset dir="${ejbapp.src}">
              <include name="**/*"/>
              <exclude name="**/*.java"/>
			  <exclude name="**/package.html"/>

            </fileset>
        </copy>
    </target>

    <target name="nude-ejb-jar" depends="" description="Just Creates full 
EJB-JAR">

        <!-- Copy Logic Sheets to the jar -->
        <copy todir="${ejb.jar.dir}/logicsheets">
            <fileset dir="${ejbapp.src}/logicsheets">
            </fileset>
        </copy>

        <!-- CREATE EJB-JAR FILE -->
        <jar jarfile="${ear.dir}/${jars.name}.jar"
             basedir="${ejb.jar.dir}"/>

    </target>

    <target name="ejb-jar" depends="ejbdoclet,all-ejb,nude-ejb-jar" 
description="Creates full EJB-JAR">

    </target>

    <target name="servlets" depends="">
        <!-- COMPILE THE SERVLET CLASSES -->
        <javac  srcdir="${webapp.src}"
                destdir="${war.servlet.dir}"
                includes="com/synegorie/**,com/tvlokaal/**"
                deprecation="on"
                debug="on">
                <classpath refid="servlet.classpath"/>
        </javac>
    </target>

    <target name="webapp" depends="servlets">
        <!-- COPY THE Common Wepapp SRC CONTENT IN WAR DIR (common stuff + 
WEB-INF) -->
        <!-- Doing it first allows the specific application to override it -->
        <copy todir="${war.dir}">
            <fileset dir="${webapp.src}/web"/>
        </copy>
        <copy overwrite="yes" todir="${war.dir}">
            <fileset dir="${webapp.src}/specifics/${app}"/>
        </copy>

        <!-- COPY THE WEB CONTENT IN WAR DIR -->
        <copy overwrite="yes" todir="${war.dir}">
          <fileset dir="${docroot.dir}">
            <exclude name="**/*.fla"/>
            <exclude name="**/*.as"/>
            <exclude name="**/fw/**"/>
            <exclude name="**/sound/**"/>
            <exclude name="**/Templates/**"/>
            <exclude name="**/thumbs.db"/>
          </fileset>
        </copy>

    </target>

    <target name="fast-webapp" depends="servlets">
      <!-- This is a copy of 'webapp' but no overwrite flag are sets: build 
speed is important here -->
        <copy todir="${war.dir}">
            <fileset dir="${webapp.src}/web"/>
        </copy>
        <copy todir="${war.dir}">
            <fileset dir="${webapp.src}/specifics/${app}"/>
        </copy>

        <!-- COPY THE WEB CONTENT IN WAR DIR -->
        <copy todir="${war.dir}">
          <fileset dir="${docroot.dir}">
            <exclude name="**/*.fla"/>
            <exclude name="**/*.as"/>
            <exclude name="**/fw/**"/>
            <exclude name="**/sound/**"/>
            <exclude name="**/Templates/**"/>
            <exclude name="**/thumbs.db"/>
          </fileset>
        </copy>

    </target>

    <target name="nude-war" depends="">
        <!-- MAKE WAR FILE -->
        <jar jarfile="${ear.dir}/${jars.name}.war"
             basedir="${war.dir}"
             manifest="${webapp.src}/MANIFEST.MF"/>
    </target>

    <target name="war" depends="webapp,nude-war">
    </target>

    <target name="fast-war" depends="fast-webapp,nude-war">
    </target>

    <target name="nude-ear" depends="">

        <!-- COPY EAR SRC TO BUILD -->
        <copy file="${earmetainf.src}/application.xml" 
todir="${ear.dir}/META-INF"/>

        <!-- CREATE EAR FILE -->
        <jar jarfile="${dist.dir}/${jars.name}.ear"
             basedir="${ear.dir}"/>

    </target>

    <target name="ears" depends="ear-ejb, ear-client"/>

    <target name="ear-ejb" depends="ejb-jar">

        <mkdir dir="${build.split.dir}/server/ear"/>

        <!-- COPY JAR -->
        <copy file="${ear.dir}/${jars.name}.jar" 
todir="${build.split.dir}/server/ear"/>

        <!-- COPY META-INF -->
        <copy file="${earmetainf.src}/application-server.xml" 
tofile="${build.split.dir}/server/ear/META-INF/application.xml"/>

        <!-- CREATE EAR FILE -->
        <jar jarfile="${build.split.dir}/server/${jars.name}-ejb.ear"
             basedir="${build.split.dir}/server/ear"/>

    </target>

    <target name="ear-client" depends="ejb-jar,war">

        <mkdir dir="${build.split.dir}/client/ear"/>

        <!-- COPY WAR -->
        <copy file="${ear.dir}/${jars.name}.war" 
todir="${build.split.dir}/client/ear"/>

        <!-- COPY META-INF -->
        <copy file="${earmetainf.src}/application-client.xml" 
tofile="${build.split.dir}/client/ear/META-INF/application.xml"/>

        <!-- CREATE EAR FILE -->
        <jar jarfile="${build.split.dir}/client/${jars.name}-client.ear"
             basedir="${build.split.dir}/client/ear"/>
    </target>

    <!-- =================================================================== -->
    <!-- Beautify the code                                                   -->
    <!-- =================================================================== -->
    <target name="beautify">

      <taskdef name="pretty" classname="pretty.Pretty"
               classpath="lib/JavaStyle.jar;lib/pretty.jar"/>

      <pretty settingsDir="lib" cvs="true">
         <fileset dir="${ejbapp.org}">
             <include name="**/*.java" />
            <!--  <exclude name="com/synegorie/util/utils.java" /> -->
         </fileset>
         <fileset dir="${webapp.org}">
            <include name="**/*.java" />
             <exclude name="com/synegorie/util/WebUtils.java" />
         </fileset>
      </pretty>

    </target>

    <target name="ear" depends="ejb-jar,war,nude-ear">

    </target>

    <target name="fast-ear" depends="ejb-jar,fast-war,nude-ear">

    </target>

    <target name="deployJar" depends="">
        <!-- MOVE JAR FILE TO JBOSS DEPLOY DIR -->
        <copy file="${ear.dir}/${jars.name}.jar" todir="${deploy.ear.dir}"/>
    </target>

    <target name="undeployJar" depends="">
        <delete file="${deploy.ear.dir}/${jars.name}.jar" />
    </target>

    <target name="deploy" depends="">
        <!-- we don't need to copy the jar anymore with jboss 3.0
        <copy file="${ear.dir}/${jars.name}.jar" todir="${deploy.jar.dir}"/>
        -->
        <copy todir="${deploy.jar.dir}/logicsheets/${jars.name}">
            <fileset dir="${ejbapp.src}/logicsheets" >
            </fileset>
        </copy>
        <!-- MOVE EAR FILE TO JBOSS DEPLOY DIR -->
        <move file="${dist.dir}/${jars.name}.ear" todir="${deploy.ear.dir}"/>
    </target>

    <target name="deploy-ejb" depends="ear-ejb">

        <copy todir="${deploy.jar.dir}/logicsheets/${jars.name}">
            <fileset dir="${ejbapp.src}/logicsheets" >
            </fileset>
        </copy>

        <!-- MOVE BOTH EAR FILE TO JBOSS DEPLOY DIR -->
        <move file="${build.split.dir}/server/${jars.name}-ejb.ear" 
tofile="${deploy.ear.dir}/a_${jars.name}-ejb.ear"/>
    </target>

    <target name="deploy-client" depends="ear-client">
        <move file="${build.split.dir}/client/${jars.name}-client.ear" 
todir="${deploy.ear.dir}"/>
    </target>

    <target name="ejb-and-client-deploy" depends="deploy-ejb,deploy-client"/>

    <target name="deployServer" depends="deploy">
        <!-- Doing it first allows the specific application to override it -->
        <copy todir="${war.deploy.dir}" >
            <fileset dir="${webapp.src}/web">
                <exclude name="**/CVS,**/WEB-INF"/>
            </fileset>
        </copy>
    </target>

    <target name="undeploy" depends="">
        <delete file="${deploy.ear.dir}/${jars.name}.ear" />
        <!-- we don't need to copy the jar anymore with jboss 3.0
        <delete file="${deploy.jar.dir}/${jars.name}.jar" />
        -->
        <delete dir="${deploy.jar.dir}/logicsheets/${jars.name}"/>
    </target>

    <target name="clean">
        <delete dir="${build.dir}"/>
        <delete dir="${dist.dir}"/>
    </target>

    <target name="serverMake" depends="clean,ear,deployServer,clean">

    </target>

    <target name="webRedeployCheck" depends="">

      <condition property="webRedeploy.dirdefined">
        <available file="${webRedeploy.dir}/WEB-INF/web.xml" />
      </condition>

    </target>

    <target name="webRedeployMessage" depends="webRedeployCheck" 
unless="webRedeploy.dirdefined">

      <fail message="webRedeploy.dir property not defined or invalid" />

    </target>

    <target name="webRedeploy" 
depends="webRedeployMessage,expandTokens,fast-webapp" description="Compiles and 
copies files onto the deployed EAR">

      <!-- Now update the deployed war in tomcat 
file="${webRedeploy.dir}/WEB-INF/web.xml"-->
      <copy todir="${webRedeploy.dir}">
          <fileset dir="${war.dir}"/>
      </copy>
      <!--
      <copy todir="${war.deploy.dir}" >
          <fileset dir="${war.dir}"/>
      </copy>
      -->
      <touch>
        <fileset dir="${webRedeploy.dir}/WEB-INF"/>
      </touch>

    </target>

    <target name="testSuite" depends="all-ejb">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.util.test.TestSuite"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testJGUID" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.util.test.TestJGUID"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testAdvertBean" depends="ear">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.adverts.test.TestAdvertBean"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testCounter" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.counter.test.TestCounter"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testTicker" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.tickers.test.TestTicker"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

        <target name="testTickerItem" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.tickers.test.TestTickerItem"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testReplication" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.replication.test.TestReplication"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testUpdateCounterLog" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.counter.test.TestUpdateCounterLog"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testJNDItest" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.counter.test.TestJNDITest"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>

    <target name="testFDU" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.test.TestFDU"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>
    <target name="testQuiz" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.quiz.test.TestQuiz"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>
    <target name="testQuizQuestion" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.quiz.test.TestQuizQuestion"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>
    <target name="testQuizAnswer" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.quiz.test.TestQuizAnswer"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>
    <target name="testPerf" depends="">
           <java fork="yes" classname="junit.${junit.ui}ui.TestRunner"
               taskname="junit" failonerror="true">
               <arg value="com.synegorie.test.TestPerf"/>
               <classpath refid="test.classpath"/>
           </java>
    </target>
</project>
Comment 1 Darin Swanson CLA 2002-10-02 10:35:26 EDT
Peter, can you also provide the stack trace?
Comment 2 Peter Tillemans CLA 2002-10-03 05:09:19 EDT
I am sorry : I cannot find a stack trace anywhere. The console remains blank and
the .log file remains empty. I just have a dialog box with the text :

Problems reading Ant build file : /newsapp/build/build.xml

Reason:
java.lang.NullPointerException
Comment 3 Darin Swanson CLA 2002-10-04 17:07:24 EDT
Sorry, I can't reproduce.
Comment 4 Michael Angelo Libio CLA 2002-10-08 00:54:42 EDT
Created attachment 2116 [details]
Configuration Detail (via Help, About Eclipse)
Comment 5 Michael Angelo Libio CLA 2002-10-08 01:04:22 EDT
I'm also having the same problem...I've attached the configuration details of 
my environment.  Under the command line, I can run the build file just fine.  
However, under eclipse I get the same error.  The version of my ant build is 1.5
Let me know if you have any questions...oh, the content of my build.xml file is 
as followed:

<project name="LogOnTracking" default="test" basedir=".">
	<property environment="env"/>
	<property name="jboss.home" value="${env.JBOSS_HOME}" />

	<target name="test">
		<echo message="${jboss.home}"/>
	</target>
</project>
Comment 6 Darin Swanson CLA 2002-10-08 11:00:58 EDT
Thanks for the test case Michael, but on the latest code cannot reproduce the 
problem (you are working on 2.0.1)

When the integration build (20021008) comes out later today, would it be 
possible for either of you to attempt to reproduce the problem?
Comment 7 Darin Swanson CLA 2002-10-08 11:02:06 EDT
Adding Michael to CC to recieve previous comment.
Comment 8 Michael Angelo Libio CLA 2002-10-08 12:50:51 EDT
No, problem [testing tonight]....Although, I think I found something
interesting.  Looking at the previous build.xml snippet, you'll see that I'm
using an environmental variable to create a property.  Randomly, I'm getting a
window that pops up...something to do with 16-bit MS Dos Error (can't
consistantly reproduce).  I've never seen it before.  So, anyway, I decided to
comment out the environment property tag...now, the build.xml file works (under
eclipse).  Let me know if this helps.  I see that Peter is also using
environmental variables.  Peter, can you try replacing your environmental
properties with hard-coded values, and post your results?
Comment 9 Darin Swanson CLA 2002-10-21 17:11:06 EDT
Anything to report Michael?
Comment 10 Darin Swanson CLA 2002-10-31 11:32:14 EST
With no new input from the bug reporters, marking as worksforme.