Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2002 14:23:06 +0100
From:      Lutz Bichler <Lutz.Bichler@UniBw-Muenchen.de>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Solved (was Re: java compilation problem)
Message-ID:  <200211171423.06127.Lutz.Bichler@unibw-muenchen.de>
In-Reply-To: <20021117051532.A32148@misty.eyesbeyond.com>
References:  <200211151622.30595.Lutz.Bichler@unibw-muenchen.de> <200211161341.23260.Lutz.Bichler@unibw-muenchen.de> <20021117051532.A32148@misty.eyesbeyond.com>

index | next in thread | previous in thread | raw e-mail

On Saturday 16 November 2002 19:45, you wrote:
> Can you construct a small ant build file which reproduces the problem?
-----------------------------------------------------------------------
<project name="mofgen" default="uml" basedir=".">
  <property name="build" location="build"/>
  <property name="result" location="tmp"/>

  <target name="init">
    <tstamp/>
    <mkdir dir="${build}"/>
  </target>

  <target name="uml" depends="init"
	description="generate uml library" >
    <javac srcdir="${result}" destdir="${build}">
      <classpath>
        <fileset dir="tmp">
          <include name="**"/>
        </fileset>
      </classpath>
    </javac>

    <jar jarfile="bin/istuml.jar"    
         basedir="${build}"
         includes="de/**"/>
  </target>

  <target name="clean"
        description="clean up" >
    <delete dir="${build}"/>
  </target>
</project>
------------------------------------------------------------------------
Removing the classpath within the uml target solved the problem.


-- 
Lutz Bichler
Institute for Software Technology, Department of Computer Science
University of the Federal Armed Forces Munich, D-85577 Neubiberg, Germany 
TEL/FAX: +49(0)89 6004-2261/-4447, NET: lutz@informatik.unibw-muenchen.de

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211171423.06127.Lutz.Bichler>