ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John W. Warner" <>
Subject Need classpath help.
Date Thu, 18 Apr 2002 19:38:35 GMT
I have a project that works great on W2K. I moved the project on to a
Solaris 2.6 box and changed the build.xml file accordingly and I'm
getting the following error;
/afs/cmf/users/jwarner/EZM/src/mil/nrl/ezmoney/common/security/Encryptio cannot resolve symbol
    [javac] symbol  : class BI  
    [javac] location: package core
    [javac] import cryptix.util.core.BI;         // Cryptix
    [javac]                          ^
There are more that I'm not including because they are the same error,
but basically, it doesn't seem to be finding the crypitx32.jar file. So,
I looked at the results of "ant -debug" and it looks as if everything in
the build.xml file is parsing right and its showing the full directory
path for the cryptix library and it's correct. The only thing that seems
weird to me is that the java.class.path doesn't show the cryptix library
listed and I'm thinking that it should.
Anyway, does anyone have an idea or know what could be wrong here?
Here are the relevant pieces of my build.xml file;
<project name="EZM" default="build" basedir=".">
    <target name="init">

   <property name="project" value="EZM" />
  <property environment="env" />
  <property name="build.sysclasspath" value="last"/>
  <property name="path" value="${user.home}/${project}"/>
  <property name="3rdPartyLibs" value="${path}/3rdParty" />
  <property name="build"   value="${path}/build" />
  <path id="classpath.path">
      <fileset dir="${env.JAVA_HOME}/lib">
        <include name="*.jar">
      <fileset dir="${env.JAVA_HOME}/jre/lib">
        <include name="rt.jar">
      <fileset dir="${3rdPartyLibs}/cryptix">
        <include name="cryptix32.jar">
  <target name="build" depends="prepare" description="Blah">
       <javac fork="yes"

            <include name="**/*.java">
            <classpath refid="classpath.path" />
   . <!-bunch of copy commands here -->
Also, Question 2
How do I do something like the following;
If OS="SunOs" then basepath = . 
If OS="Windows NT" then basepath = .
Thanks all.. in advance..
-          John

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message