The error is
Buildfile: build.xml
csscolumnsite:
BUILD FAILED
/usr/local/cocoon-2.1.4/build/webapp/csscolumnsite/build.xml:42:
Could not find
a classpath that points to the Cocoon classes
Total time: 1 second
and the build.xml file is:-
<?xml version="1.0"?>
<project default="csscolumnsite"
basedir="/usr/local/cocoon/" name="css">
<path id="webapp.classpath">
<pathelement path="${classpath}"/>
<pathelement path="build/cocoon-2.1.4/classes/"/>
<pathelement
location="build/cocoon-2.1.4/cocoon.jar"/>
</path>
<target name="csscolumnsite"
description="* build static csscolumnsite">
<taskdef name="cocoon"
classname="org.apache.cocoon.CocoonTask"
classpathref="webapp.classpath"/>
<property name="cocoon.dir"
value="/usr/local/cocoon"/>
<property name="build.dir"
value="${cocoon.dir}/build"/>
<property name="contextDir"
value="${build.dir}/webapp/WEB-INF"/>
<property name="workDir"
value="${build.dir}/csscolumnsite-work"/>
<property name="destDir"
value="${build.dir}/csscolumnsite"/>
<property name="configFile"
value="${build.dir}/webapp/WEB-INF/cocoon.xconf"/>
<cocoon
contextDir="${contextDir}"
configFile="${configFile}"
workDir="${workDir}"
destDir="${destDir}"
targets="csscolumnsite/index.html"
logLevel="WARN"
/>
</target>
</project>
--- Upayavira <[EMAIL PROTECTED]> wrote:
> yangontha Maung wrote:
>
> >Hi,
> >
> >I am trying the example applications from cocoon
> wiki
> >site. (cssColumnsite)
> >
> >http://wiki.cocoondev.org/Wiki.jsp?page=ExampleApps
> >
> >That is to generate static web pages using cocoon
> from
> >xml and style sheets.
> >
> >I can run the samples and I can modify the xml
> pages
> >so that the output on the browser can be changed.
> >
> >But how am I going to save the generated html
> pages?
> >
> >According to the notes, I am supposed to run the
> ant
> >task on the following:-
> >
> >I tried as
> >ant csscolumnsite
> >
> >There is an error of class not found. I think my
> >setting for classpath is not correct.
> >
> >
> What class is not found?
>
> What version of Cocoon are you using? Must be 2.1.3
> or later.
>
> >Can anybody help me write the sample classpath
> >commands that should be appear exactly?
> >
> See the docs:
>
http://cocoon.apache.org/2.1/userdocs/offline/ant.html
>
> for more info on the Ant task.
>
> Upayavira
>
> >thanks in advance,
> >
> >
> >
> ><path id="webapp.classpath">
> > <!-- add your cocoon-jars, classes etc. here
> > ->
> ></path>
> ><target name="csscolumsite"
> > description="* build static csscolumnsite">
> >
> > <taskdef name="cocoon"
> > classname="org.apache.cocoon.ant.CocoonTask"
> > classpathref="webapp.classpath"/>
> >
> > <property name="build.dir"
> > value="value="${cocoon.dir}/build"/>
> > <property name="contextDir"
> > value="${build.dir}/cocoon/webapp"/>
> > <property name="workDir"
> > value="${build.dir}/csscolumnsite-work"/>
> > <property name="destDir"
> > value="${build.dir}/csscolumnsite"/>
> > <property name="configFile"
> >
> value="${build.dir}/documentation/cocoon.xconf"/>
> >
> > <cocoon
> > contextDir="${contextDir}"
> > configFile="${configFile}"
> > workDir="${workDir}"
> > destDir="${destDir}"
> > targets="csscolumnsite/index.html"
> > logLevel="WARN"
> > />
> ></target>
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Mail SpamGuard - Read only the mail you
> want.
> >http://antispam.yahoo.com/tools
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]