CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Mgr

Print topic Send  topic

Author Message
Terence Fernandes
Posted: 01/28/2004, 1:31 PM

Hi; I'm struggling with the instructions and the deployment of JSP: here i sthe build.xml file. You'll say JDK1.4 is OK but the build complains. Would appreciate your help... Thanks

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- //BuildXML @0-628F8A7A

-->
- <project name="Test" default="build" basedir=".">
- <target name="init">
<property name="cp" value="C:\j2sdk1.4.2\lib\servlet.jar;" />
<property name="deployment.dir" value="C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT" />
<property name="project.name" value="Test" />
<property name="encoding" value="ISO-8859-1" />
<available classname="javax.servlet.ServletConfig" classpath="${cp}" property="servlet.available" />
<available classname="java.util.regex.Pattern" classpath="${cp}" property="jdk14.available" />
<echo message="JSP build: 2.2.0084" />
</target>
- <target name="check.servlet.lib" depends="init" unless="servlet.available">
<fail message="Servlet 2.2 API is not found in your Class Path. Please add it to site Class Path property." />
</target>
- <target name="check.oro.regexp" depends="init" unless="oro.available">
<fail message="Jakarta ORO API is not found in your Class Path. Please add it to site Class Path property." />
</target>
- <target name="check.jdk14.regexp" depends="init" unless="jdk14.available">
<fail message="You selected to use JDK 1.4 regexps but your JAVA_HOME points to earlier version. Please install and configure J2SDK version 1.4 or choose other Regexp library." />
</target>
- <target name="check.jdbcext.lib" depends="init" unless="jdbcext.available">
<fail message="JDBC 2.0 API is not found in your Class Path. Please add it to site Class Path property." />
</target>
- <target name="compile" depends="check.servlet.lib,check.jdk14.regexp">
<mkdir dir="app/WEB-INF/classes" />
<javac srcdir="src" destdir="app/WEB-INF/classes" classpath="${cp}" debug="on" encoding="${encoding}" />
</target>
- <target name="build" depends="compile">
- <copy todir="app/WEB-INF">
<fileset dir="config" />
</copy>
- <copy todir="app">
<fileset dir=".." excludes="CCSBuild/**,**/*.ccp,**/*.ccs" />
</copy>
</target>
- <target name="pack" depends="build">
<mkdir dir="appWar" />
<jar jarfile="appWar/${project.name}.war" basedir="app" />
</target>
- <target name="deploy" depends="pack">
<delete dir="${deployment.dir}/${project.name}" />
<copy file="appWar/${project.name}.war" todir="${deployment.dir}" />
</target>
- <target name="doc" depends="init">
<mkdir dir="doc" />
- <javadoc packagenames="com.codecharge.*" sourcePath="src" classpath="${cp}" destdir="doc" Windowtitle="CCS JSP pattern API Documentation" Doctitle="CodeCharge Studio JSP pattern API Documentation">
<link href="http://java.sun.com/j2se/1.3/docs/api/" offline="true" packagelistLoc="c:\java\plists\jdk13" />
<link href="http://java.sun.com/webservices/docs/ea2/api/" offline="true" packagelistLoc="c:\java\plists\ws" />
</javadoc>
</target>
- <target name="clean">
<delete dir="app" />
<delete dir="bin" />
</target>
</project>
- <!-- //End BuildXML


-->
peterr


Posts: 5971
Posted: 01/28/2004, 3:01 PM

Please contact our support: http://support.codecharge.com
or post to the Java Forum if you like help from other users.

I'm also curious what are the symptoms of the problem or what error messages are you seeing?

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.