[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows build file with jar and javadoc enhancements



Hi folks!
 
The windows build script now includes jar and javadoc creation.
It looks like this:
 
------------------------------------------------------------------------------------------------------------
 
set JAVA_COMPILER=javac
rem set JAVA_HOME=D:\java\jdk1.3
 
rem set JAVA_CLASSPATH=%JAVA_HOME%\jre\lib\i18n.jar
rem set JAVA_CLASSPATH=%JAVA_CLASSPATH%;%JAVA_HOME%\jre\lib\jaws.jar
rem set JAVA_CLASSPATH=%JAVA_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar
 
set CLASSPATH=.
rem set CLASSPATH=%CLASSPATH%;%JAVA_CLASSPATH%
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\castor.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\gnu-regexp-1.0.8.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\javaclass.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\jndi.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\jta-spec1_0_1.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\w3c-dom.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\xalan.jar
set CLASSPATH=%CLASSPATH%;%OZONE_HOME%\bin\xerces.jar
 
rem call castor in order to build org.ozoneDB.tools.opp.castor package
java org.exolab.castor.builder.SourceGenerator -i org/ozoneDB/tools/OPP/OzoneClassDescriptor.xsd -package org.ozoneDB.tools.OPP.castor
 
%JAVA_COMPILER% org\odmg\*.java
%JAVA_COMPILER% org\ozoneDB\*.java
%JAVA_COMPILER% org\ozoneDB\core\*.java
%JAVA_COMPILER% org\ozoneDB\core\DbRemote\*.java
%JAVA_COMPILER% org\ozoneDB\core\dr\*.java
%JAVA_COMPILER% org\ozoneDB\core\wizardStore\*.java
%JAVA_COMPILER% org\ozoneDB\DxLib\*.java
%JAVA_COMPILER% org\ozoneDB\DxLib\net\*.java
%JAVA_COMPILER% org\ozoneDB\odmg\*.java
%JAVA_COMPILER% org\ozoneDB\tools\*.java
%JAVA_COMPILER% org\ozoneDB\tools\opp\*.java
%JAVA_COMPILER% org\ozoneDB\util\*.java
%JAVA_COMPILER% org\ozoneDB\xa\*.java
%JAVA_COMPILER% org\ozoneDB\xml\*.java
%JAVA_COMPILER% org\ozoneDB\xml\dom\*.java
%JAVA_COMPILER% org\ozoneDB\xml\repository\*.java
%JAVA_COMPILER% org\ozoneDB\xml\util\*.java
 
rem make jar file
jar -cvf bin\ozone.jar org
 
rem make javadoc
javadoc -d docs org\odmg\*.java org\ozoneDB\*.java org\ozoneDB\core\*.java org\ozoneDB\core\DbRemote\*.java org\ozoneDB\core\dr\*.java org\ozoneDB\core\wizardStore\*.java org\ozoneDB\DxLib\*.java org\ozoneDB\DxLib\net\*.java org\ozoneDB\odmg\*.java org\ozoneDB\tools\*.java org\ozoneDB\tools\opp\*.java org\ozoneDB\util\*.java org\ozoneDB\xa\*.java org\ozoneDB\xml\*.java org\ozoneDB\xml\dom\*.java org\ozoneDB\xml\repository\*.java org\ozoneDB\xml\util\*.java
 
------------------------------------------------------------------------------------------------------------
 
There are some warnings in the javadoc generation part which are partly due to missing classes or packages in the xml package.
 
Regards, Michael