ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <kad...@gfs.com>
Subject wljspc (WL 5.1, sp9)
Date Tue, 24 Jul 2001 20:45:14 GMT
What's the package attribute in wljspc about?  The shell scripts I'm replacing with Ant don't
specify any package when pre-compiling the JSPs, and documentation is a _little_ sparse on
the wljspc task.

Here's the command from the shell script:

=======================
set SCRIPT_CP=d:\weblogic\lib\weblogic510sp9.jar;d:\weblogic\classes;d:\weblogic\lib\weblogicaux.jar;%DEV_JARS%\rowset.jar;%DEV_JARS%\appServer.jar;%DEV_JARS%\modelView.jar

cd d:\dev\src\webApps\%WEB_APP%

if errorlevel 1 goto handleError

%JAVA% -classpath %SCRIPT_CP% weblogic.jspc -deprecation -verboseJavac -commentary -verbose
-d WEB-INF/_tmp_war %JSP_FILE%
=======================

Here's what I currently have:

=======================
    <target name="jsp-compile">
        <wljspc src="${webapp.dir}/${project.dir}" dest="${webapp.dir}/${project.dir}/WEB-INF/_tmp_war">
            <include name="**/*.jsp" />
            <classpath>
                <pathelement path="${weblogic.lib}" />
                <fileset dir="${deploy.dir}">
                    <include name="**/*.jar" />
                </fileset>
            </classpath>
        </wljspc>
    </target>
=======================

As can be seen, I haven't specified the package attribute, because I'm not sure what it should
be.  Consequently the build fails.  Also, has this task been updated, perhaps with more complete
documentation?

Kyle


Mime
View raw message