Add extras/jdbcstorage/build.xml, and change contact info in README. BLD200402051900
authorjsichi@netbeans.org
Thu, 05 Feb 2004 04:36:46 +0000
changeset 1440fd31152da0df
parent 1439 89482f3d8f75
child 1441 b4cdad3fb0e1
Add extras/jdbcstorage/build.xml, and change contact info in README.
mdr/extras/jdbcstorage/README
mdr/extras/jdbcstorage/build.xml
     1.1 --- a/mdr/extras/jdbcstorage/README	Thu Feb 05 04:35:31 2004 +0000
     1.2 +++ b/mdr/extras/jdbcstorage/README	Thu Feb 05 04:36:46 2004 +0000
     1.3 @@ -19,4 +19,4 @@
     1.4  
     1.5  Please see org/netbeans/mdr/persistence/jdbcimpl/package.html for an
     1.6  overview.  Send all questions/comments to John Sichi
     1.7 -(jsichi@yahoo.com).
     1.8 +(jsichi@netbeans.org).
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mdr/extras/jdbcstorage/build.xml	Thu Feb 05 04:36:46 2004 +0000
     2.3 @@ -0,0 +1,95 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +
     2.6 +<!--               Sun Public License Notice
     2.7 + 
     2.8 +The contents of this file are subject to the Sun Public License
     2.9 +Version 1.0 (the "License"). You may not use this file except in
    2.10 +compliance with the License. A copy of the License is available at
    2.11 +http://www.sun.com/
    2.12 + 
    2.13 +The Original Code is NetBeans. The Initial Developer of the Original
    2.14 +Code is Sun Microsystems, Inc. Portions Copyright 1997-2003 Sun
    2.15 +Microsystems, Inc. All Rights Reserved.
    2.16 +-->
    2.17 +
    2.18 +
    2.19 +<!-- Build script for the JdbcStorage implementation. 
    2.20 +-->
    2.21 +
    2.22 +<project name="jdbcstorage" basedir="." default="all">
    2.23 +    
    2.24 +    <property name="nbroot" location="../../../"/>
    2.25 +    <property name="nbext" location="${nbroot}/nbbuild"/>
    2.26 +    <property name="build.compiler.debug" value="true"/>
    2.27 +    <property name="build.compiler.deprecation" value="true"/>
    2.28 +    <property name="build.dir" location="."/>
    2.29 +    <property name="build.mdr.classes.dir" location="${build.dir}/src"/>
    2.30 +    <property name="standard-jar-excludes.txt" location="${nbroot}/nbbuild/standard-jar-excludes.txt"/>
    2.31 +    
    2.32 +    <!-- all external files and directories -->
    2.33 +    <property name="mdrroot" location="${nbroot}/mdr"/>
    2.34 +    <property name="jmi.jar.dir" location="${mdrroot}/external"/>
    2.35 +    
    2.36 +    <property name="nbantext.jar" location="${nbext}/nbantext.jar"/>
    2.37 +    <property name="openide-lookup.jar" location="${nbroot}/openide/util/netbeans/lib/openide-util.jar"/>
    2.38 +    
    2.39 +            
    2.40 +    <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
    2.41 +             classpath="${nbantext.jar}"/>
    2.42 +
    2.43 +    <target name="init">
    2.44 +        
    2.45 +    </target>
    2.46 +    
    2.47 +    <target name="compile" depends="jdbcstorage-compile">
    2.48 +    </target>
    2.49 +    
    2.50 +    <target name="clean" depends="jdbcstorage-clean">
    2.51 +    </target>
    2.52 +    
    2.53 +    <target name="jars" depends="jdbcstorage-jar">
    2.54 +    </target>
    2.55 +    
    2.56 +    <target name="all" depends="compile,jars">
    2.57 +    </target>  
    2.58 +    
    2.59 +    <target name="jdbcstorage-compile">
    2.60 +        <javac srcdir="src" destdir="src"
    2.61 +               debug="${build.compiler.debug}" 
    2.62 +               deprecation="${build.compiler.deprecation}">
    2.63 +          <classpath>
    2.64 +            <!--pathelement location="${openide-13javac-workaround.jar}"/-->
    2.65 +            <pathelement location="${mdrroot}/src"/>            
    2.66 +            <pathelement location="${openide-lookup.jar}"/>
    2.67 +            <fileset dir="${jmi.jar.dir}">
    2.68 +                <include name="jmi*.jar"/>
    2.69 +                <include name="mof*.jar"/>
    2.70 +            </fileset>
    2.71 +          </classpath>
    2.72 +          <include name="org/netbeans/mdr/persistence/jdbcimpl/"/>
    2.73 +        </javac>
    2.74 +    </target>
    2.75 +    
    2.76 +    <target name="jdbcstorage-clean">
    2.77 +        <delete>
    2.78 +            <fileset dir="${build.mdr.classes.dir}/org/netbeans/mdr/persistence/jdbcimpl">
    2.79 +                <include name="**/*.class"/>
    2.80 +            </fileset>
    2.81 +        </delete>
    2.82 +        <delete dir="${build.dir}/release"/>
    2.83 +    </target>
    2.84 +    
    2.85 +    <target name="jdbcstorage-jar" depends="init,jdbcstorage-compile">  
    2.86 +      <locjar jarfile="${build.dir}/release/mdrjdbc.jar"
    2.87 +            compress="false">      
    2.88 +            <!--manifest="manifest-jdbcstorage.mf" -->            
    2.89 +        <fileset dir="${build.mdr.classes.dir}" excludesfile="${standard-jar-excludes.txt}">
    2.90 +            <include name="org/netbeans/mdr/persistence/jdbcimpl/"/>
    2.91 +        </fileset>
    2.92 +        <fileset dir="src" excludesfile="${standard-jar-excludes.txt}">
    2.93 +            <include name="org/netbeans/mdr/persistence/jdbcimpl/"/>
    2.94 +        </fileset>
    2.95 +    </locjar>
    2.96 +  </target>
    2.97 +        
    2.98 +</project>