On Thu, 12 Jul 2001, Ola Sandness wrote:

> Hi,
> do you define the bin.dir property in your build.xml file?
>
Yes.

> Are you sure you have included the path to the editor-directory, or the
> jar-file in which the remoteImpl resides? Maybe you can supply us with more
> bits of your build.xml file?
>
Don't clear what you mean, include the path to the editor-directory with
what?

May be I attached my bulid.xml in the mail
-- 



Carfield Yim, visit my homepage at http://www.carfield.com.hk
<project default="prepare" basedir="/">

  <!-- =================================================================== -->
  <!-- Initialization target                                               -->
  <!-- =================================================================== -->
  <target name="init">
    <tstamp/>
    <property name="Name" value="uml_editor"/>
    <property name="name" value="uml_editor"/>
    <property name="version" value="development"/>
    <property name="build.compiler" value="modern"/>
    <property name="debug" value="on"/>
    <property name="optimize" value="on"/>

    <property name="base.dir" value="/home/cvs/project/uml_editor"/>
    <property name="policy.dir" value="${base.dir}/policy"/>
    <property name="src.dir" value="${base.dir}/src"/>
    <property name="bin.dir" value="${base.dir}/classes"/>
    <property name="doc.dir" value="${base.dir}/doc"/>
    <property name="netscape.dir" value="/home/cvs/public_html/uml_editor"/>
  
  </target>

  <!-- =================================================================== -->
  <!-- Prepares the build directory                                        -->
  <!-- =================================================================== -->
  <target name="prepare" depends="init">
    <mkdir dir="${bin.dir}"/>
    <mkdir dir="${doc.dir}"/>
  </target>
  
  <!-- do general package -->
  <target name="general" depends="prepare">
    <javac srcdir="${src.dir}"
           destdir="${bin.dir}"
           classpath="${src.dir}:${netscape.dir}"
           debug="${debug}"
           optimize="${optimize}"/>
    <rmic classname="editor.uml.remote.remoteImpl" base="${bin.dir}" 
classpath="${bin.dir}"/>
    <rmic classname="editor.uml.gui.appobj.WorkSpace" base="${bin.dir}" 
classpath="${bin.dir}"/>
  </target>

  <!-- General JavaDoc at /doc/api directory -->  
  <target name="javadoc" depends="init">
    <javadoc packagenames="editor.*"
           sourcepath="${src.dir}"
           destdir="${doc.dir}"
           author="true"
           version="true"
           use="true"
           windowtitle="uml_editor API"
           bottom="Copyright 2001 carfield.com.hk. All Rights Reserved.">
      <link href="http://developer.java.sun.com/developer/products/xml/docs/api/"/>
    </javadoc>
  </target>

  <!-- Start the server -->
  <target name="startrm">
    <java classname="editor.uml.remote.remoteImpl" >
      <classpath path="${bin.dir}"/>
      <sysproperty key="java.rmi.server.codebase" 
value="http://www.carfield.com.hk/~cvs/uml_editor/"/>
      <sysproperty key="java.security.policy" value="${policy.dir}/policy"/>
    </java>
  </target>
 
</project>

Reply via email to