Board index » jbuilder » "cannot resolve symbol..." error when trying to compile with ant

"cannot resolve symbol..." error when trying to compile with ant


2003-09-18 05:06:02 AM
jbuilder19
I'm using the ant wizard in JBuilder9 Developer; here's the XML build file:
<!-- set global properties for this build -->
<property name="build.home" location="."/>
<property name="buildspace.home" location="../buildspace"/>
<property name="dist.home" location="../dist"/>
<property name="dist.agent.home" location="../dist-agent"/>
<property name="src.home" location="../src"/>
<property name="conf.home" location="../conf"/>
<property name="webroot.home" location="../src/content"/>
<property name="junit.home" location="../tools/junit3.8.1"/>
<property name="quartz.home" location="../tools/quartz-1.2.0"/>
<property name="j2ee.home" location="../tools/sun/j2ee1.3.1"/>
<property name="dev.classes" location="../webapps/manager/WEB-INF/classes"/>
<property name="classes" location="../buildspace/classes"/>
<property name="tools.home" value="../tools"/>
<property name="hibernate.lib" value="${tools.home}/hibernate-2.0/lib"/>
<property name="pointbase.lib" value="../tools/pointbase-4.6/lib"/>
<property name="jetty.lib" value="../tools/jetty-4.2.12/lib"/>
<property name="axis.lib" value="../tools/apache/axis-1.1/lib"/>
<property name="mapping.files.home" location="${src.home}/com/macrovision/flexnet/entities"/>
<property name="struts.lib" value="../tools/apache/jakarta/struts-1.1/WEB-INF/lib"/>
<property name="struts.tld" value="../tools/apache/jakarta/struts-1.1/WEB-INF/"/>
<property name="manager.webapp.home" location="../webapps/manager/WEB-INF"/>
<property name="managerwar.name" value="flexnetmanager.war"/>
<property name="agentwar.name" value="flexnetagent.war"/>
<!-- declare Hibernate and database classpaths -->
<path id="hibernate.classpath">
<fileset dir="${hibernate.lib}/..">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${pointbase.lib}/">
<include name="**/*.jar"/>
</fileset>
</path>
<!-- declare Jetty classpath -->
<path id="jetty.classpath">
<fileset dir="${jetty.lib}/..">
<include name="**/*.jar"/>
</fileset>
</path>
<!-- declare Quartz classpath -->
<path id="quartz.classpath">
<fileset dir="${quartz.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
<!-- declare J2EE classpath -->
<path id="j2ee.classpath">
<fileset dir="${j2ee.home}/lib">
<include name="j2ee.jar"/>
</fileset>
</path>
********************************
I'm compiling Hibernate files (hbm.xml) as part of the build. The hbm.xml files generate Java classes; when I try to reference the generated Java classes, the compiler barfs with "cannot resolve symbol..." errors.
Should I be changing my classpaths? I tried adding classpath to the Windows Env. variable, and that didn't help.
Regards
Nupur.
 
 

Re:"cannot resolve symbol..." error when trying to compile with ant

On 9/17/2003 at 5:06:02 PM, Nupur Prakash wrote:
Quote
I'm compiling Hibernate files (hbm.xml) as part of the build. The
hbm.xml files generate Java classes; when I try to reference the
generated Java classes, the compiler barfs with "cannot resolve
symbol..." errors.
What compiler are you talking about? Than build file snippet you
posted contains a lot of property and path settings, but nothing that
does a compile.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
www.JPMcGrath.net/newsgroups/e-mail.html