docs problem

37 views
Skip to first unread message

psi

unread,
Dec 1, 2010, 8:13:53 PM12/1/10
to Java2Script
Hi,

when i run the java project that i want to use in JS, it reports;

[Java2Script] Error in loading class....(project main class)

but i cant seem to find enough information to even start looking into
it.

so i decide to RTFM,

so i downloaded subversion and got the manual sources;

but when i run the ant built task i get;

BUILD FAILED
...folder/net.sf.j2s.doc.user-guide/j2s-user-guide/build.xml:25:
taskdef class org.eclipse.wst.xsl.core.internal.ant.XIncludeTask
cannot be found

no havinf much luck, can you help?

psi

unread,
Dec 1, 2010, 8:32:45 PM12/1/10
to Java2Script
have found link below to pdf docs.

(new thread because appropriate one awaiting moderation)

Sebastian Gurin

unread,
Dec 2, 2010, 7:55:16 AM12/2/10
to java2...@googlegroups.com

the ant task if for generating the html for eclipse documentation from docbooks sources. For doing this you have to run the generate-eclipse-help ant task using the same jre as the workspace. For this right click the ant task generate-eclipse-help -> Run as... -> External tools configuration -> JRE -> "check Run in the same JRE as the workspace"

If you only need the html and pdf version of the user guide you can simply generate them from docbook sources. docbook tools like bd2* docbook2* or dblatex are required. These tools are available in linux or in cygwin. Check out the scripts j2s-user-guide/make-all.sh that generates both html and pdf versions of the guide

good look.

>
> --
> You received this message because you are subscribed to the Google Groups "Java2Script" group.
> To post to this group, send email to java2...@googlegroups.com.
> To unsubscribe from this group, send email to java2script...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/java2script?hl=en.
>


--
Sebastian Gurin <sgu...@softpoint.org>

psi

unread,
Dec 2, 2010, 8:27:34 PM12/2/10
to Java2Script
thanks i got them compiled for eclipse, and they got me going very
quickly.

basically what i was doing wrong was i had just loaded an existing
project and hit 'run as "javs2script application" button'.

Reply all
Reply to author
Forward
0 new messages