[c3] XincludeTransformer.java weirdness

2012-01-19 Thread Thorsten Scherler

Hi all,

in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XIncludeTransformer.java

we do

import org.apache.cocoon.sax.xpointer.ParseException;
...
import org.apache.cocoon.sax.xpointer.XPointerFrameworkParser;

but in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/xpointer/

There is no such classes.

I do not understand since we can build with cli without problems. In 
eclipse I can fix the project setup by adding the cocoon-sax beta jar to 
the classpath. However that is the same jar as the project, which does 
not make sense at all.


Somebody has an idea?

salu2

--
Thorsten Scherlerscherler.at.gmail.com
codeBusters S.L. - web based systems
consulting, training and solutions

http://www.codebusters.es/



Re: [c3] XincludeTransformer.java weirdness

2012-01-19 Thread Jos Snellings

Hi Thorsten,

They are under 
generated-sources/javacc/org/apache/cocoon/sax/xpointer/ParseException.java
Apparently the java is only generated at build time. Don't know details 
(pom.xml has javacc-maven-plugin).


Jos


On 01/19/2012 10:56 AM, Thorsten Scherler wrote:

Hi all,

in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XIncludeTransformer.java 



we do

import org.apache.cocoon.sax.xpointer.ParseException;
...
import org.apache.cocoon.sax.xpointer.XPointerFrameworkParser;

but in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/xpointer/ 



There is no such classes.

I do not understand since we can build with cli without problems. In 
eclipse I can fix the project setup by adding the cocoon-sax beta jar 
to the classpath. However that is the same jar as the project, which 
does not make sense at all.


Somebody has an idea?

salu2





Re: [c3] XincludeTransformer.java weirdness

2012-01-19 Thread Thorsten Scherler

On 01/19/2012 11:14 AM, Jos Snellings wrote:

Hi Thorsten,

They are under 
generated-sources/javacc/org/apache/cocoon/sax/xpointer/ParseException.java
Apparently the java is only generated at build time. Don't know 
details (pom.xml has javacc-maven-plugin).




Thanks, yeah that makes much sense. I thought it must have something 
like that. Thanks again for pointing out!.


salu2


Jos


On 01/19/2012 10:56 AM, Thorsten Scherler wrote:

Hi all,

in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XIncludeTransformer.java 



we do

import org.apache.cocoon.sax.xpointer.ParseException;
...
import org.apache.cocoon.sax.xpointer.XPointerFrameworkParser;

but in
https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/xpointer/ 



There is no such classes.

I do not understand since we can build with cli without problems. In 
eclipse I can fix the project setup by adding the cocoon-sax beta jar 
to the classpath. However that is the same jar as the project, which 
does not make sense at all.


Somebody has an idea?

salu2






--
Thorsten Scherlerscherler.at.gmail.com
codeBusters S.L. - web based systems
consulting, training and solutions

http://www.codebusters.es/



Re: [c3] XincludeTransformer.java weirdness

2012-01-19 Thread Simone Tripodi
Hola Thorsten!

yes as Jos already pointed out, the XPointer frameowrk classes are
generated by a JavaCC grammar :)

All the best, hasta pronto!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Thu, Jan 19, 2012 at 11:25 AM, Thorsten Scherler scher...@gmail.com wrote:
 On 01/19/2012 11:14 AM, Jos Snellings wrote:

 Hi Thorsten,

 They are under
 generated-sources/javacc/org/apache/cocoon/sax/xpointer/ParseException.java
 Apparently the java is only generated at build time. Don't know details
 (pom.xml has javacc-maven-plugin).


 Thanks, yeah that makes much sense. I thought it must have something like
 that. Thanks again for pointing out!.

 salu2


 Jos


 On 01/19/2012 10:56 AM, Thorsten Scherler wrote:

 Hi all,

 in

 https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XIncludeTransformer.java

 we do

 import org.apache.cocoon.sax.xpointer.ParseException;
 ...
 import org.apache.cocoon.sax.xpointer.XPointerFrameworkParser;

 but in

 https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/xpointer/

 There is no such classes.

 I do not understand since we can build with cli without problems. In
 eclipse I can fix the project setup by adding the cocoon-sax beta jar to the
 classpath. However that is the same jar as the project, which does not make
 sense at all.

 Somebody has an idea?

 salu2




 --
 Thorsten Scherlerscherler.at.gmail.com
 codeBusters S.L. - web based systems
 consulting, training and solutions

 http://www.codebusters.es/