You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Albert Shih <sh...@math.jussieu.fr> on 2003/11/17 16:20:31 UTC

Build failes

Hi

Maybe I very stupid, but I can't compile the lenya.

I've try with cvs version and I've this error

**************************************

BUILD FAILED
java.lang.IllegalArgumentException: No attributes are implemented
        at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)
        at XConfToolTask.execute(Unknown Source)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 39 seconds
java.lang.IllegalArgumentException: No attributes are implemented
        at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:93)
        at XConfToolTask.execute(Unknown Source)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
No attributes are implemented

***********************************

I've check the file XConfToolTask.class is present (no problem with cvsup)

I'm in FreeBSD 5.1, jdk-1.4.2p5 (or linux-sun-jdk-1.4.2.01_3), cocoon-2.1.2
(I'v also try with cocoon-2.1.1 for same error).

I've strictly follow the help (in http://cocoon.apache.org/lenya)

Thanks for any advice.

Regards

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Mon Nov 17 16:16:35 CET 2003

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Build failes

Posted by Michael Wechner <mi...@wyona.com>.
Albert Shih wrote:

> Le 18/11/2003 à 09:50:22+0100, Albert Shih a écrit
>  
>
>>>AFAIK there are some issues with FreeBSD and JDK1.4, but I am not sure 
>>>to be honest.
>>>      
>>>
>I find the problem. It's not jdk14, the problem is ant (ports
>installation). All work fine with ant (directly from www.apahce.org).
>
:-)

what do you mean by ports installation?

As a future reference it would be nice to know your working environment.
Can you specify the following?

Lenya (CVS)
Cocoon2.1.?
JDK1.4.?
Tomcat/Jetty ?
endorsed libraries (in case of Tomcat)?
FreeBSD?

Thanks

Michi

>
>Lots of thanks.
>
>Now I can see lenya working....;-))
>
>Regards.
>
>
>--
>Albert SHIH
>Universite de Paris 7 (Denis DIDEROT)
>U.F.R. de Mathematiques.
>Heure local/Local time:
>Tue Nov 18 16:15:33 CET 2003
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Build failes

Posted by Albert Shih <sh...@math.jussieu.fr>.
 Le 18/11/2003 à 09:50:22+0100, Albert Shih a écrit
> > AFAIK there are some issues with FreeBSD and JDK1.4, but I am not sure 
> > to be honest.
> 
I find the problem. It's not jdk14, the problem is ant (ports
installation). All work fine with ant (directly from www.apahce.org).

Lots of thanks.

Now I can see lenya working....;-))

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Tue Nov 18 16:15:33 CET 2003

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Build failes

Posted by Albert Shih <sh...@math.jussieu.fr>.
 Le 17/11/2003 à 21:27:54+0100, Michael Wechner a écrit
> Albert Shih wrote:
> 
> >Hi
> >  
> >
> 
> >
> >I've check the file XConfToolTask.class is present (no problem with cvsup)
> >
> >I'm in FreeBSD 5.1, jdk-1.4.2p5 (or linux-sun-jdk-1.4.2.01_3), cocoon-2.1.2
> >(I'v also try with cocoon-2.1.1 for same error).
> >
> 
> does that you also can't build Cocoon 2.1.2?
> 

No the build of Cocoon 2.1.1 and Cocoon 2.1.2 (and tomcat 4.1.27) work
fine.

> AFAIK there are some issues with FreeBSD and JDK1.4, but I am not sure 
> to be honest.

OK. I go to try with another jdk.

Thanks.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Tel      : 01 44 27 86 88
FAX	 : 01 44 27 69 35
GSM(UFR) : 06 85 05 58 43
Heure local/Local time:
Tue Nov 18 09:49:04 CET 2003

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Build failes

Posted by Michael Wechner <mi...@wyona.com>.
Albert Shih wrote:

>Hi
>  
>

>
>I've check the file XConfToolTask.class is present (no problem with cvsup)
>
>I'm in FreeBSD 5.1, jdk-1.4.2p5 (or linux-sun-jdk-1.4.2.01_3), cocoon-2.1.2
>(I'v also try with cocoon-2.1.1 for same error).
>

does that you also can't build Cocoon 2.1.2?

AFAIK there are some issues with FreeBSD and JDK1.4, but I am not sure 
to be honest.

Michi

>
>I've strictly follow the help (in http://cocoon.apache.org/lenya)
>
>Thanks for any advice.
>
>Regards
>
>--
>Albert SHIH
>Universite de Paris 7 (Denis DIDEROT)
>U.F.R. de Mathematiques.
>7 ième étage, plateau D, bureau 10
>Heure local/Local time:
>Mon Nov 17 16:16:35 CET 2003
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org