I tried to compile the portal 2.0 source code I downloaded from jboss.org 
(jboss-portal-2.0-src.tar.gz), but I got the following errors:

D:\download\jboss\jboss-portal-2.0-src\build>build.bat deploy
Executing D:\download\jboss\jboss-portal-2.0-src\build\..\tools\bin\ant.bat  -lo
gger org.apache.tools.ant.NoBannerLogger deploy
Buildfile: build.xml

_buildmagic:init:
Trying to override old definition of task property

_configure:cactus:cactus:
     [echo] D:\download\jboss\jboss-portal-2.0-src/thirdparty/junit-junit/lib

configure-project:
     [echo] groups:  default
     [echo] modules: common,server,api,portlet,bridge,cms,format,core

_buildmagic:modules:most:

 ==============================================================
 ==
 ==  Executing 'most' in module 'common'...
 ==
 ==

configure-defaults:
Overriding previous definition of reference to javac.classpath

_default:compile-classes:
   [depend] Deleted 0 out of date files in 0 seconds
    [javac] Compiling 101 source files to D:\download\jboss\jboss-portal-2.0-src
\common\output\classes
[execmodules] D:\download\jboss\jboss-portal-2.0-src\common\src\main\org\jboss\p
ortal\common\util\XML.java:12: cannot resolve symbol
[execmodules] symbol  : class CachedXPathAPI
[execmodules] location: package xpath
[execmodules] import org.apache.xpath.CachedXPathAPI;
[execmodules]                         ^
[execmodules] D:\download\jboss\jboss-portal-2.0-src\common\src\main\org\jboss\p
ortal\common\util\XML.java:2057: cannot resolve symbol
[execmodules] symbol  : class CachedXPathAPI
[execmodules] location: class org.jboss.portal.common.util.XML
[execmodules]    public static Node getSelectedNode(final CachedXPathAPI xpath,
final Node contextNode, final String str)
[execmodules]                                             ^
[execmodules] D:\download\jboss\jboss-portal-2.0-src\common\src\main\org\jboss\p
ortal\common\util\XML.java:1766: cannot resolve symbol
[execmodules] symbol  : class CachedXPathAPI
[execmodules] location: class org.jboss.portal.common.util.XML
[execmodules]       final Node styleSheetNode = new CachedXPathAPI().selectSingl
eNode(xslDom.getDocumentElement(),
[execmodules]                                       ^
[execmodules] D:\download\jboss\jboss-portal-2.0-src\common\src\main\org\jboss\p
ortal\common\util\XML.java:2022: cannot resolve symbol
[execmodules] symbol  : class CachedXPathAPI
[execmodules] location: class org.jboss.portal.common.util.XML
[execmodules]       return new CachedXPathAPI().selectNodeList(contextNode, 
str);

I have set the JBOSS_HOME environment variable.  Am I missing something?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883945#3883945

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883945


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to