I tried to build Lenya 1.4 but got the following error msgs. Any idea
what's wrong? I tried to build under windows platform since I haven't
figure out how to install Linux on my laptop.

BTW what tools/IDE do you guys recommend to edit, compile, build,
debug etc? Anyone use Sun's Netbeans? Is it good?

Many thanks,

Zhiwu


P.S.: error msgs
----------------


C:\src\apache-lenya-1.4-dev-src>build
Buildfile: build.xml

init:
------------------- Apache Lenya 1.4-dev [1999-2005] ----------------
Building with Apache Ant version 1.6.5 compiled on June 2 2005
Using build file C:\src\apache-lenya-1.4-dev-src\build.xml

prepare-cocoon:
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\comments.xmap
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\pipelines.xmap
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\resources.xmap
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\selectors.xmap
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\serializers.xmap
Writing: C:\src\apache-lenya-1.4-dev-src\build\lenya\webapp\sitemap.xmap
Processing: C:\src\apache-lenya-1.4-dev-src\src\confpatch\overwrite-uploads.xweb

Writing: C:\src\apache-lenya-1.4-dev-src\build\lenya\webapp\WEB-INF\web.xml

prepare-src:
Copying 0 directories to C:\src\apache-lenya-1.4-dev-src\build\lenya\src
Copying 0 files to C:\src\apache-lenya-1.4-dev-src\build\lenya\src

compile:
Compiling 426 source files to C:\src\apache-lenya-1.4-dev-src\build\lenya\webapp
\WEB-INF\classes
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntType.java:26: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
                                      ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntType.java:117: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
 org.apache.lenya.cms.authoring has been deprecated
    private NodeCreatorInterface creator = null;
            ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntType.java:123: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
 org.apache.lenya.cms.authoring has been deprecated
    public NodeCreatorInterface getCreator() {
           ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntType.java:131: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
 org.apache.lenya.cms.authoring has been deprecated
    protected void setCreator(NodeCreatorInterface _creator) {
                              ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\authoring\DefaultC
reator.java:36: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
public abstract class DefaultCreator extends AbstractLogEnabled implements NodeC
reatorInterface {
                                                                           ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntManagerImpl.java:33: warning: org.apache.lenya.cms.authoring.NodeCreatorInterf
ace in org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
                                      ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntTypeBuilderImpl.java:36: warning: org.apache.lenya.cms.authoring.NodeCreatorIn
terface in org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
                                      ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\search\usecases\Se
arch.java:33: cannot resolve symbol
symbol  : class Sort
location: package search
import org.apache.lucene.search.Sort;
                                ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntType.java:131: warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
 org.apache.lenya.cms.authoring has been deprecated
    protected void setCreator(NodeCreatorInterface _creator) {
                              ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntManagerImpl.java:115: warning: org.apache.lenya.cms.authoring.NodeCreatorInter
face in org.apache.lenya.cms.authoring has been deprecated
            NodeCreatorInterface creator = documentType.getCreator();
            ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntTypeBuilderImpl.java:163: warning: org.apache.lenya.cms.authoring.NodeCreatorI
nterface in org.apache.lenya.cms.authoring has been deprecated
                    NodeCreatorInterface creator;
                    ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\publication\Docume
ntTypeBuilderImpl.java:169: warning: org.apache.lenya.cms.authoring.NodeCreatorI
nterface in org.apache.lenya.cms.authoring has been deprecated
                        creator = (NodeCreatorInterface) creatorClass.newInstanc
e();
                                   ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\search\usecases\Se
arch.java:127: cannot resolve symbol
symbol  : class Sort
location: class org.apache.lenya.cms.search.usecases.Search
                Sort sort = new Sort(sortField, sortReverse);
                ^
C:\src\apache-lenya-1.4-dev-src\src\java\org\apache\lenya\cms\search\usecases\Se
arch.java:127: cannot resolve symbol
symbol  : class Sort
location: class org.apache.lenya.cms.search.usecases.Search
                Sort sort = new Sort(sortField, sortReverse);
                                ^
3 errors
11 warnings

BUILD FAILED
C:\src\apache-lenya-1.4-dev-src\src\targets\compile-build.xml:37: Compile failed
; see the compiler error output for details.

Total time: 21 seconds



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to