Follow the Developer Quick Start Guide:
http://www.jboss.org/developers/guides/quickstart.jsp

You should checkout the "jboss-head" cvs module, if you want JBoss 4.0 (alpha):
 cvs checkout jboss-head

If you want JBoss 3.2.x:
 cvs checkout -r Branch_3_2 jboss-3.2

If you want JBoss 3.0.x (the stable version): 
 cvs checkout -r Branch_3_0 jboss-3.0

*** Note:
You can read this line in the Quickstart Guide:
"You can get the sources for the jboss-all project from CVS or from a nightly CVS 
snapshot."

That is wrong, the jboss-all module points to JBoss 3.0.x, but if you checkout this 
module without specifying the branch, it won't work.

Also, this page has wrong/outdated information:
http://www.jboss.org/developers/sourcecode.jsp

Somebody should change the docs...


Ricardo Arg�ello
[EMAIL PROTECTED]
www.freeroller.net/page/ricardo/

-- 
I took the red pill.


----- Original Message ----- 
From: "Rasputin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 3:53 PM
Subject: [JBoss-user] building from CVS


> 
> Sorry if this is a dumb question.
> I've just got the CVS version of jboss, I have ant 1.5.1 installed.
> Platform is NetBSD , JVM is he Sun Linux 1.3.1_07-b02
> 
> If I cd into build/ and run build.sh, it dies pretty quickly with
> 
> common/build.xml:118 Could not create task of type: jmxdoclet
> 
> 
> I've tried sticking xdoclet-jmx-module-1.2b2.jar in $ANT_HOME/lib, but it
> doesn't help - am I missing something obvious (like build instructions <g>)?
> Should this jarfile be somewhere in the source tree, or do I need to setup a
> build.properties file?
> 
> Full error follows - thanks for any tips.
> 
> --------------------------
> configure:
> 
> configure-libraries:
> 
> configure-modules:
> Overriding previous definition of reference to jboss.naming.classpath
> 
> configure-defaults:
> 
> configure-tools:
> 
> configure-project:
>      [echo] groups:  default
>      [echo] modules: 
>common,jmx,system,aop,cache,j2ee,naming,management,transaction,server,blocks,console,security,messaging,connector,varia,cluster,jetty,jboss.net,iiop
> 
> _default:init:
> 
> init:
> 
> _buildmagic:modules:most:
> 
>  ============================================================== 
>  ==
>  ==  Executing 'most' in module 'common'...
>  ==
>  ==
> 
> _buildmagic:init:
> 
> configure:
> 
> configure-libraries:
> 
> configure-modules:
> Overriding previous definition of reference to jboss.naming.classpath
> 
> configure-defaults:
> 
> configure-tools:
> 
> _default:init:
> 
> init:
> 
> compile-mbean-sources:
> 
> BUILD FAILED
> 
> file:/devel/localsrc/anoncvs/jboss-all/common/build.xml:118: Could not create task 
>or type of type: jmxdoclet.
> 
> 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 'jmxdoclet'.
>    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.
> at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:324)
> at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240)
> at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:115)
> at org.apache.tools.ant.Task.perform(Task.java:318)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
> at 
>org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:329)
> at 
>org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:342)
> at 
>org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:217)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
> at org.apache.tools.ant.Task.perform(Task.java:319)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> at org.apache.tools.ant.Main.runBuild(Main.java:610)
> at org.apache.tools.ant.Main.start(Main.java:196)
> at org.apache.tools.ant.Main.main(Main.java:235)
> -- 
> Rasputin :: Jack of All Trades - Master of Nuns
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
>



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to