Thanks for the info Thomas. I was trying to get your helloworld.war to work in
the alpha release. Thats why it was not working. I have downloaded the cvs
version of jBoss Portal.
However, its not building. At first I was getting the error:
class org.jbos....nukes.Explode not found. I rectified that error by modifying
line 56 in tools/etc/buildfragments/tools.ent from "explode.war" to
"explode.jar". But now the build gets stuck at:
| [EMAIL PROTECTED] build]$ sh build.sh
| build.sh: *WARNING* Ignoring environment value for $ANT_HOME
| build.sh: Executing:
/home/karan/latest/jbossportal2/jboss-portal/tools/bin/ant -logger
org.apache.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,forums
|
| _buildmagic:init:show-environment:
| [echo]
| [echo] project.root: /home/karan/latest/jbossportal2/jboss-portal
| [echo] module.root:
/home/karan/latest/jbossportal2/jboss-portal/build
| [echo] user.home: /home/karan
| [echo] build.compiler: ${build.compiler}
| [echo] java.home: /usr/local/j2sdk1.4.2_06/jre
| [echo] java.class.path:
/usr/share/ant/lib/xalan.jar:/usr/share/ant/lib/mail.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/jakarta-regexp.jar:/usr/share/ant/lib/commons-logging.jar:/usr/share/ant/lib/bcel.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/activation.jar:/usr/local/j2sdk1.4.2_06/lib/tools.jar
| [echo] java.version: 1.4.2_06
| [echo] java.vendor: Sun Microsystems Inc.
| [echo] java.vm.version: 1.4.2_06-b03
| [echo] java.vm.name: Java HotSpot(TM) Client VM
| [echo] java.vm.info: mixed mode
| [echo] os.name: Linux
| [echo] os.arch: i386
| [echo] os.version: 2.6.10-1.8_FC2
|
| _buildmagic:modules:most:
|
| ==============================================================
| ==
| == Executing 'most' in module 'format'...
| ==
| ==
|
| _buildmagic:init:
| Trying to override old definition of task moduleconfig
| Trying to override old definition of task execmodules
| Trying to override old definition of task resolveproperties
| Trying to override old definition of task require
| Trying to override old definition of task propertyfilter
| Trying to override old definition of task call
| Trying to override old definition of task resolver
| Trying to override old definition of task property
|
| _buildmagic:init:show-environment:
| [echo]
| [echo] project.root: /home/karan/latest/jbossportal2/jboss-portal
| [echo] module.root:
/home/karan/latest/jbossportal2/jboss-portal/format
| [echo] user.home: /home/karan
| [echo] build.compiler: ${build.compiler}
| [echo] java.home: /usr/local/j2sdk1.4.2_06/jre
| [echo] java.class.path:
/usr/share/ant/lib/xalan.jar:/usr/share/ant/lib/mail.jar:/usr/share/ant/lib/junit.jar:/usr/share/ant/lib/jakarta-regexp.jar:/usr/share/ant/lib/commons-logging.jar:/usr/share/ant/lib/bcel.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/activation.jar:/usr/local/j2sdk1.4.2_06/lib/tools.jar
| [echo] java.version: 1.4.2_06
| [echo] java.vendor: Sun Microsystems Inc.
| [echo] java.vm.version: 1.4.2_06-b03
| [echo] java.vm.name: Java HotSpot(TM) Client VM
| [echo] java.vm.info: mixed mode
| [echo] os.name: Linux
| [echo] os.arch: i386
| [echo] os.version: 2.6.10-1.8_FC2
|
| BUILD FAILED
| file:/home/karan/latest/jbossportal2/jboss-portal/format/build.xml:109:
Could not create task or type of type: javacc.
|
| Ant could not find the task or a class this task relies upon.
|
| This is common and has a number of causes; the usual
| solutions are to read the manual pages then download and
| install needed JAR files, or fix the build file:
| - You have misspelt 'javacc'.
| Fix: check your spelling.
| - The task needs an external JAR file to execute
| and this is not found at the right place in the classpath.
| Fix: check the documentation for dependencies.
| Fix: declare the task.
| - The task is an Ant optional task and optional.jar is absent
| Fix: look for optional.jar in ANT_HOME/lib, download if needed
| - The task was not built into optional.jar as dependent
| libraries were not found at build time.
| Fix: look in the JAR to verify, then rebuild with the needed
| libraries, or download a release version from apache.org
| - The build file was written for a later version of Ant
| Fix: upgrade to at least the latest release version of Ant
| - The task is not an Ant core or optional task
| and needs to be declared using <taskdef>.
|
| Remember that for JAR files to be visible to Ant tasks implemented
| in ANT_HOME/lib, the files must be in the same directory or on the
| classpath
|
| Please neither file bug reports on this problem, nor email the
| Ant mailing lists, until all of these causes have been explored,
| as this is not an Ant bug.
|
| Total time: 5 seconds
|
Thanks,
Karan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869271#3869271
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869271
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development