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]



Reply via email to