You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by to...@apache.org on 2004/08/12 21:03:29 UTC

cvs commit: db-ojb/src/ojb-blank build.xml

tomdz       2004/08/12 12:03:29

  Modified:    src/ojb-blank build.xml
  Log:
  The xdoclet target in the ojb-blank buildfile now also uses the compiled classes of the project e.g. to check user-defined conversions, row-readers etc.
  
  Revision  Changes    Path
  1.6       +9 -2      db-ojb/src/ojb-blank/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/ojb-blank/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	23 Jun 2004 20:20:46 -0000	1.5
  +++ build.xml	12 Aug 2004 19:03:29 -0000	1.6
  @@ -42,6 +42,13 @@
           </fileset>
       </path>
   
  +    <path id="runtime-classpath">
  +        <fileset dir="${build.lib.dir}">
  +            <include name="**/*.jar"/>
  +        </fileset>
  +        <pathelement location="${build.classes.dir}"/>
  +    </path>
  +
       <!-- ================================================================== -->
       <!-- Compiles the Java Source Code                                      -->
       <!-- ================================================================== -->
  @@ -82,10 +89,10 @@
       <!-- ================================================================== -->
       <!-- Creates repository_user.xml and project-schema.xml from the source -->
       <!-- ================================================================== -->
  -    <target name="xdoclet">
  +    <target name="xdoclet" depends="compile">
           <taskdef name="ojbdoclet"
                    classname="xdoclet.modules.ojb.OjbDocletTask"
  -                 classpathref="compile-classpath"/>
  +                 classpathref="runtime-classpath"/>
   
           <ojbdoclet destdir=".">
               <fileset dir="${source.java.dir}"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org