I checked out the portal code (jboss-portal-2.0) tonight. Everything looks good.

By following the procedure inside the user manual, I tried to build the portal 
(jboss-portal-2.0/build/sh build.sh) and got the following compiling errors. 
Looks like the classpath is not set correctly inside the build.xml. Is there 
anything else I need to do to build the portal? My JBOSS_HOME is set correctly.

Also, I noticed that jregex.jar is missing from thirdparty. I downloaded it 
myself and put under /jboss-portal-2.0/thirdparty/jregex-jregex. 

Please help. Thanks.

Derek

build.sh: *WARNING* Ignoring environment value for $ANT_HOME
  | build.sh: Executing: /c/java/jboss/jboss-portal-2.0/tools/bin/ant -logger 
org.ap
  | ache.tools.ant.NoBannerLogger
  | Buildfile: build.xml
  | 
  | _buildmagic:init:
  | Trying to override old definition of task property
  | 
  | configure-project:
  |      [echo] groups:  default
  |      [echo] modules: format,common,server,api,portlet,cms,core
  | 
  | _buildmagic:modules:most:
  | 
  |  ==============================================================
  |  ==
  |  ==  Executing 'most' in module 'format'...
  |  ==
  |  ==
  | 
  | _default:compile-classes:
  |    [depend] Deleted 0 out of date files in 0 seconds
  |     [javac] Compiling 48 source files to 
C:\java\jboss\jboss-portal-2.0\format\o
  | utput\classes
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:11: package 
jregex
  | does not exist
  | [execmodules] import jregex.MatchIterator;
  | [execmodules]               ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:12: package 
jregex
  | does not exist
  | [execmodules] import jregex.MatchResult;
  | [execmodules]               ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:13: package 
jregex
  | does not exist
  | [execmodules] import jregex.Matcher;
  | [execmodules]               ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:14: package 
jregex
  | does not exist
  | [execmodules] import jregex.Pattern;
  | [execmodules]               ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:31: cannot 
resolve
  | symbol
  | [execmodules] symbol  : class Pattern
  | [execmodules] location: class 
org.jboss.portal.format.parser.entity.XML1_0Charac
  | terEntityReferenceParser
  | [execmodules]    private static Pattern pattern = new 
Pattern("&#(?:(?:x[0-9a-fA
  | -F]{1,4})|(?:[0-9]{1,5}));");
  | [execmodules]                   ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:31: cannot 
resolve
  | symbol
  | [execmodules] symbol  : class Pattern
  | [execmodules] location: class 
org.jboss.portal.format.parser.entity.XML1_0Charac
  | terEntityReferenceParser
  | [execmodules]    private static Pattern pattern = new 
Pattern("&#(?:(?:x[0-9a-fA
  | -F]{1,4})|(?:[0-9]{1,5}));");
  | [execmodules]                                         ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:35: cannot 
resolve
  | symbol
  | [execmodules] symbol  : class Matcher
  | [execmodules] location: class 
org.jboss.portal.format.parser.entity.XML1_0Charac
  | terEntityReferenceParser
  | [execmodules]       Matcher matcher = pattern.matcher(chars, offset, 
length);
  | [execmodules]       ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:37: cannot 
resolve
  | symbol
  | [execmodules] symbol  : class MatchIterator
  | [execmodules] location: class 
org.jboss.portal.format.parser.entity.XML1_0Charac
  | terEntityReferenceParser
  | [execmodules]       MatchIterator i = matcher.findAll();
  | [execmodules]       ^
  | [execmodules] 
C:\java\jboss\jboss-portal-2.0\format\src\main\org\jboss\portal\fo
  | rmat\parser\entity\XML1_0CharacterEntityReferenceParser.java:40: cannot 
resolve
  | symbol
  | [execmodules] symbol  : class MatchResult
  | [execmodules] location: class 
org.jboss.portal.format.parser.entity.XML1_0Charac
  | terEntityReferenceParser
  | [execmodules]          MatchResult res = i.nextMatch();
  | [execmodules]          ^
  | [execmodules] 9 errors
  | 
  | BUILD FAILED
  | 
file:C:/java/jboss/jboss-portal-2.0/format/../tools/etc/buildfragments/targets.e
  | nt:91: Compile failed; see the compiler error output for details.

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to