db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb/src/ojb-blank build.xml
Date Thu, 12 Aug 2004 19:04:23 GMT
tomdz       2004/08/12 12:04:23

  Modified:    src/ojb-blank Tag: OJB_1_0_RELEASE 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
  No                   revision
  No                   revision
  1.5.2.1   +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.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- build.xml	23 Jun 2004 20:20:46 -0000	1.5
  +++ build.xml	12 Aug 2004 19:04:23 -0000	1.5.2.1
  @@ -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


Mime
View raw message