cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Stefaniuk" <ste...@chopin.edu.pl>
Subject Problem with build
Date Wed, 20 Aug 2003 12:20:47 GMT
Hello!

I tried to compile latest Cocoon 2.1. I prepared environment as described
(variables and jars). What I do wrong? When I run builder it prints list of
errors starting:
> begin of code <
C:\cocoon-2.1>build webapp
Using Java from C:\j2sdk1.4.1
Buildfile: build.xml

prepare:
+-----------------------------------------------------------+
             Apache Cocoon 2.1 [1999-2003]
+-----------------------------------------------------------+
 Building with Apache Ant version 1.5.3 compiled on April 16 2003
 using build file C:\cocoon-2.1\build.xml
 Compiling with debug on, optimize on, deprecation off
+--------------------| W A R N I N G |----------------------+
   This build is targeted for use with JVM 1.4
 Using this build on a virtual machine other than the one
   it is targeted for may result in runtime errors.
+-----------------------------------------------------------+

compile-core:
Compiling 519 source files to C:\cocoon-2.1\build\cocoon-2.1\classes
C:\cocoon-2.1\src\java\org\apache\cocoon\components\language\programming\jav
a\Javac.java:72: cannot resolve symbol symbol  : class AbstractJavaCompiler
location: class org.apache.cocoon.components.language.programming.java.Javac
public class Javac extends AbstractJavaCompiler {
                           ^
C:\cocoon-2.1\src\java\org\apache\cocoon\components\language\programming\jav
a\JavaLanguage.java:66: cannot resolve symbol
symbol  : class CompiledProgrammingLanguage location: package programming
import
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e;
                                                         ^

> end of code <

and ends like

> begin of code <

100 errors

BUILD FAILED
file:C:/cocoon-2.1/src/targets/compile-build.xml:39: Compile failed; see the
com
piler error output for details.

Total time: 22 seconds
> end of code <



buld -diagnostics gives this output.

> begin of code <
Using Java from C:\j2sdk1.4.1
------- Ant diagnostics report -------
Apache Ant version 1.5.3 compiled on April 16 2003

-------------------------------------------
 Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks     : 1.5.3
optional tasks : 1.5.3

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: tools
ant-1.5.3-optional.jar (671546 bytes)
ant-1.5.3.jar (737884 bytes)
excalibur-testcase-1.0.jar (27835 bytes)
jing-20020724.jar (332915 bytes)
junit.jar (117522 bytes)
openorb-tools-1.3.0.jar (259228 bytes)
xalan-2.5.1.jar (2907319 bytes)
xercesImpl-2.4.0.jar (895924 bytes)
xml-apis.jar (124720 bytes)
xmlunit0.8.jar (36969 bytes)

-------------------------------------------
 Tasks availability
-------------------------------------------
stlist : Missing dependency com.starbase.starteam.Item
telnet : Missing dependency com.oroinc.net.SocketClient
ftp : Missing dependency com.oroinc.net.ftp.FTP
jdepend : Missing dependency jdepend.xmlui.JDepend
script : Missing dependency com.ibm.bsf.BSFException
stcheckin : Missing dependency com.starbase.starteam.Item
stcheckout : Missing dependency com.starbase.starteam.Item

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path : C:\j2sdk1.4.1\jre\bin
java.vm.version : 1.4.1-rc-b19
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
user.country : PL
sun.os.patch.level :
java.vm.specification.name : Java Virtual Machine Specification
user.dir : C:\cocoon-2.1
java.runtime.version : 1.4.1-rc-b19
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : lib\endorsed
os.arch : x86
java.io.tmpdir : C:\DOCUME~1\marcin\USTAWI~1\Temp\
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
user.variant :
os.name : Windows XP
ant.home : tools
sun.java2d.fontpath :
java.library.path :
C:\j2sdk1.4.1\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\j2sdk1
.4.1\bin
java.specification.name : Java Platform API Specification
java.class.version : 48.0
java.util.prefs.PreferencesFactory :
java.util.prefs.WindowsPreferencesFactory
os.version : 5.1
user.home : C:\Documents and Settings\marcin
user.timezone : Europe/Belgrade
java.awt.printerjob : sun.awt.windows.WPrinterJob
file.encoding : Cp1250
java.specification.version : 1.4
java.class.path :
C:\j2sdk1.4.1\lib\tools.jar;tools\lib\xmlunit0.8.jar;tools\lib
\xml-apis.jar;tools\lib\xercesImpl-2.4.0.jar;tools\lib\xalan-2.5.1.jar;tools
\lib
\openorb-tools-1.3.0.jar;tools\lib\junit.jar;tools\lib\jing-20020724.jar;too
ls\l
ib\excalibur-testcase-1.0.jar;tools\lib\ant-1.5.3.jar;tools\lib\ant-1.5.3-op
tion
al.jar;
user.name : marcin
java.vm.specification.version : 1.0
java.home : C:\j2sdk1.4.1\jre
sun.arch.data.model : 32
user.language : pl
java.specification.vendor : Sun Microsystems Inc.
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode
java.version : 1.4.1-rc
java.ext.dirs : C:\j2sdk1.4.1\jre\lib\ext
sun.boot.class.path :
lib\endorsed\xalan-2.5.1.jar;lib\endorsed\xercesImpl-2.4.0
.jar;lib\endorsed\xml-apis.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jr
e\li
b\i18n.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1\jre\lib\jsse.j
ar;C
:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.
1\jr
e\classes
java.vendor : Sun Microsystems Inc.
file.separator : \
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.endian : little
sun.cpu.isalist : pentium i486 i386
> end of code <

Thank You in advance
Marcin



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


Mime
View raw message