You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Thorsten Scherler <sc...@gmail.com> on 2012/01/19 10:56:24 UTC
[c3] XincludeTransformer.java weirdness
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 Scherler<scherler.at.gmail.com>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/
Re: [c3] XincludeTransformer.java weirdness
Posted by Simone Tripodi <si...@apache.org>.
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 <sc...@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 Scherler<scherler.at.gmail.com>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>
>
> http://www.codebusters.es/
>
Re: [c3] XincludeTransformer.java weirdness
Posted by Thorsten Scherler <sc...@gmail.com>.
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 Scherler<scherler.at.gmail.com>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/
Re: [c3] XincludeTransformer.java weirdness
Posted by Jos Snellings <Jo...@pandora.be>.
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
>