cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmand...@hotmail.com
Subject RE: Cocoon 2.1.6 - Build problems!!!
Date Wed, 26 Jan 2005 12:53:23 GMT
Hi,

I tried following your previous recommendations of how to build the 2.1.6
source on JDK 1.5, however I get the following build error:

C:\Java\cocoon-2.1.6-src\cocoon-2.1.6>build
Buildfile: build.xml

prepare:
======================================================================
                 Apache Cocoon 2.1.6 [1999-2004]
======================================================================
 Building with Apache Ant version 1.6.2 compiled on July 16 2004
----------------------------------------------------------------------
 Using build file C:\Java\cocoon-2.1.6-src\cocoon-2.1.6\build.xml
----------------------------------------------------------------------
 Compiler options:
   - debug ......... [on]
   - optimize ...... [on]
   - deprecation ... [off]
======================================================================

compile-deprecated:
Processing:
C:\Java\cocoon-2.1.6-src\cocoon-2.1.6\src\deprecated\conf\deprecated
xroles
Writing:
C:\Java\cocoon-2.1.6-src\cocoon-2.1.6\build\cocoon-2.1.6\classes\org\ap
ache\cocoon\cocoon.roles

BUILD FAILED
C:\Java\cocoon-2.1.6-src\cocoon-2.1.6\tools\targets\compile-build.xml:43:
Transf
ormerException: javax.xml.transform.TransformerException:
java.io.FileNotFoundEx
ception:
file:\C:\Java\cocoon-2.1.6-src\cocoon-2.1.6\build\cocoon-2.1.6\classes\
org\apache\cocoon\cocoon.roles (The filename, directory name, or volume
label syntax is incorrect)

Total time: 4 seconds

C:\Java\cocoon-2.1.6-src\cocoon-2.1.6>

Seemingly it is unable to open and process the cocoon.roles file? But I can
open it by typing the exact same path into my file/internet browser,
including the "file:" protocol!

Line 43 of compile-build.xml is

<javac srcdir="${java}" destdir="${build.dest}" debug="${compiler.debug}"
optimize="${compiler.optimize}" deprecation="${compiler.deprecation}"
target="${target.vm}" source="${source.vm}" nowarn="${compiler.nowarn}"
compiler="${compiler}" classpathref="classpath"/>

But I assume source param is set correctly, since I have the latest 2.1.6
source distribution?

Will greatly appreciate any help :-)

PS: I'm running JDK 1.5.x (J2SE5.0?)

Kristian

PS: Is it perhaps the Ant version 1.6.2 that is 2 blame?


-----Original Message-----
Wrom: DXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSW
Sent: 3. januar 2005 10:33
To: users@cocoon.apache.org
Subject: Re: Cocoon 2.1.6

in 2.1.6 just do the first step,The all step is just for 2.1.5.1


johnson
----- Original Message ----- 
Wrom: ZIDREXCAXZOWCONEUQZAAFXISHJEXXIM
To: <users@cocoon.apache.org>
Sent: Monday, January 03, 2005 5:24 PM
Subject: Re: Cocoon 2.1.6


> can't send zip attachment to the maillist
> pls give me your mail addr
> 
> 
> johnson
> ----- Original Message ----- 
> Wrom: QZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGP
> To: <users@cocoon.apache.org>
> Sent: Monday, January 03, 2005 5:12 PM
> Subject: Re: Cocoon 2.1.6
> 
> 
>> could you send me your tools/targets folder as a zip file?
>> 
>> -----------------------
>> -News Hunter-
>> -----------------------
>> ----- Original Message ----- 
>> Wrom: KYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWF
>> To: <users@cocoon.apache.org>
>> Sent: Monday, January 03, 2005 10:52 AM
>> Subject: Re: Cocoon 2.1.6
>> 
>> 
>>> 1.in tools/targets/init_build.xml change target="1.3" to target="1.5"
>>> 2.in the same dir ,compile-build.xml samples-build.xml find the javac 
>>> statement,add one line source="1.4" below target="xxxx"
>>> 3.in tools/src/blocks-build.xsl do the same to step 2.
>>> 
>>> hope this helped
>>> 
>>> Johnson
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

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



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 19-10-2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 19-10-2004
 

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


Mime
View raw message