Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » building xtext documentation
building xtext documentation [message #653406] Wed, 09 February 2011 16:17 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

since I'd like to write my documentation in textile as well, I'm taking
a look at the org.xtext.doc source, and I'm trying to run customBuild.xml

that ant file tries to download some stuff... first of all, it looks
like the url
http://mirrorspace.org/apache/xmlgraphics/fop/binaries/fop-0 .95-bin.zip
does not work (and I replaced that with
http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop- 0.95-bin.zip

after the script finished downloading stuff, the build fails with this
error:

org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:127: The
following error occurred while executing this line:
org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:210:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl

any clue please?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: building xtext documentation [message #653551 is a reply to message #653406] Thu, 10 February 2011 08:31 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
As far as I remember you have to use a real Java 5 SDK to run the
generator. Note that the documentation generation is a bad hack, i.e. it
downloads some framework jars on execution and puts them somewhere in
your file system. We don't actively support this anymore.

For Xtext 2.0, we have switched to Xdoc, our own Xtext-based
documentation generator. This is far easier to use, offers better tool
support and tighter integration into eclipse. And, last but not least,
it is actively maintained ;-) Have a look at
https://github.com/RvonMassow/xDoc


Am 09.02.11 17:17, schrieb Lorenzo Bettini:
> Hi
>
> since I'd like to write my documentation in textile as well, I'm taking
> a look at the org.xtext.doc source, and I'm trying to run customBuild.xml
>
> that ant file tries to download some stuff... first of all, it looks
> like the url
> http://mirrorspace.org/apache/xmlgraphics/fop/binaries/fop-0 .95-bin.zip
> does not work (and I replaced that with
> http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop- 0.95-bin.zip
>
> after the script finished downloading stuff, the build fails with this
> error:
>
> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:127: The
> following error occurred while executing this line:
> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:210:
> java.lang.ClassNotFoundException:
> org.apache.xalan.processor.TransformerFactoryImpl
>
> any clue please?
>
> thanks in advance
> Lorenzo
>


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Re: building xtext documentation [message #653789 is a reply to message #653551] Fri, 11 February 2011 08:46 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 02/10/2011 09:31 AM, Jan Koehnlein wrote:
> As far as I remember you have to use a real Java 5 SDK to run the
> generator. Note that the documentation generation is a bad hack, i.e. it
> downloads some framework jars on execution and puts them somewhere in
> your file system. We don't actively support this anymore.
>
> For Xtext 2.0, we have switched to Xdoc, our own Xtext-based
> documentation generator. This is far easier to use, offers better tool
> support and tighter integration into eclipse. And, last but not least,
> it is actively maintained ;-) Have a look at
> https://github.com/RvonMassow/xDoc
>

uh looks cool! :)

and I don't have to switch to xtext 2.0 to use that, right?

but, from what I understand, it's another wiki-like language, different
from textile, right?

thanks
Lorenzo

>
> Am 09.02.11 17:17, schrieb Lorenzo Bettini:
>> Hi
>>
>> since I'd like to write my documentation in textile as well, I'm taking
>> a look at the org.xtext.doc source, and I'm trying to run customBuild.xml
>>
>> that ant file tries to download some stuff... first of all, it looks
>> like the url
>> http://mirrorspace.org/apache/xmlgraphics/fop/binaries/fop-0 .95-bin.zip
>> does not work (and I replaced that with
>> http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop- 0.95-bin.zip
>>
>> after the script finished downloading stuff, the build fails with this
>> error:
>>
>> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:127: The
>> following error occurred while executing this line:
>> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:210:
>> java.lang.ClassNotFoundException:
>> org.apache.xalan.processor.TransformerFactoryImpl
>>
>> any clue please?
>>
>> thanks in advance
>> Lorenzo
>>
>
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: building xtext documentation [message #654120 is a reply to message #653789] Mon, 14 February 2011 09:19 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Yes, it's another language with specific syntax for documenting Java
code. But we are developing it on Xtext 2.0. It should always be
compatible with the HEAD.

Am 11.02.11 09:46, schrieb Lorenzo Bettini:
> On 02/10/2011 09:31 AM, Jan Koehnlein wrote:
>> As far as I remember you have to use a real Java 5 SDK to run the
>> generator. Note that the documentation generation is a bad hack, i.e. it
>> downloads some framework jars on execution and puts them somewhere in
>> your file system. We don't actively support this anymore.
>>
>> For Xtext 2.0, we have switched to Xdoc, our own Xtext-based
>> documentation generator. This is far easier to use, offers better tool
>> support and tighter integration into eclipse. And, last but not least,
>> it is actively maintained ;-) Have a look at
>> https://github.com/RvonMassow/xDoc
>>
>
> uh looks cool! :)
>
> and I don't have to switch to xtext 2.0 to use that, right?
>
> but, from what I understand, it's another wiki-like language, different
> from textile, right?
>
> thanks
> Lorenzo
>
>>
>> Am 09.02.11 17:17, schrieb Lorenzo Bettini:
>>> Hi
>>>
>>> since I'd like to write my documentation in textile as well, I'm taking
>>> a look at the org.xtext.doc source, and I'm trying to run
>>> customBuild.xml
>>>
>>> that ant file tries to download some stuff... first of all, it looks
>>> like the url
>>> http://mirrorspace.org/apache/xmlgraphics/fop/binaries/fop-0 .95-bin.zip
>>> does not work (and I replaced that with
>>> http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop- 0.95-bin.zip
>>>
>>> after the script finished downloading stuff, the build fails with this
>>> error:
>>>
>>> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:127: The
>>> following error occurred while executing this line:
>>> org.eclipse.xtext/plugins/org.eclipse.xtext.doc/customBuild. xml:210:
>>> java.lang.ClassNotFoundException:
>>> org.apache.xalan.processor.TransformerFactoryImpl
>>>
>>> any clue please?
>>>
>>> thanks in advance
>>> Lorenzo
>>>
>>
>>
>
>


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Guava vs. Google Collections
Next Topic:Customize serialization of a rule?
Goto Forum:
  


Current Time: Fri Apr 26 10:32:43 GMT 2024

Powered by FUDForum. Page generated in 0.02758 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top