I don't have any ideas right now. Check the syntax for windows. A couple of modules had out of memory errors that I fixed by putting the suggested ANT_OPTS=-Xmx640m in build.sh.
Hmmm. I forgot to try to update the build.bat files this way. Did you change this line in build/build.bat to set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Djavax.xml.parsers.DocumentBuilderFactory=%JAXP_DOM_FACTORY% -Djavax.xml.parsers.SAXParserFactory=%JAXP_SAX_FACTORY% -Dbuild.script=build.bat -Xmx640m thanks david jencks On 2002.09.10 20:25:34 -0400 Emily Short wrote: > I got the build.xml fixes from cvs, but now when I build (with jdk1.4.0) > I get this error: > > docs-todo: > [mkdir] Created dir: C:\jboss-src\jboss-all\jmx\output\todo > [execmodules] Running <info/> > [execmodules] Create info lists for todo tags > [execmodules] (TemplateEngine.invokeMethod 515 ) Invoking method > failed: xdoclet.tagshandler.ClassTagsHandler.fo > rAllClasses, line=15 of template file: > jar:file:C:\jboss-src\jboss-all\thirdparty\xdoclet\xdoclet\lib\xdoclet-x > doclet-mo > dule.jar!/xdoclet/modules/doc/info/resources/all-classes.xdt > [execmodules] java.lang.reflect.InvocationTargetException > [execmodules] null > [execmodules] at > sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)ParameterImpl > instances: 20 > [execmodules] MethodImpl instances: 2719 > [execmodules] ConstructorImpl instances: 404 > [execmodules] SimpleNode instances: 0 > [execmodules] SourceClass instances: 450 > [execmodules] XDoc instances: 0 > [execmodules] DefaultXTag instances: 0 > [execmodules] BinaryClass instances: 88 > [execmodules] UnknownClass instances: 49 > [execmodules] Total memory: 63 > [execmodules] Free memory: 0 > [execmodules] Try to increase heap size. Can be done by defining > ANT_OPTS=-Xmx640m > [execmodules] See the JDK tooldocs. > > BUILD FAILED > file:C:/jboss-src/jboss-all/jmx/../tools/etc/buildfragments/documentatio > n.ent:73: null > > I tried defining ANT_OPTS as it suggested but that didn't seem to help. > Any advice? > > Emily > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Emily Short > Sent: Monday, September 09, 2002 2:38 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] build error jboss 4.0.0alpha > > Thanks so much David! When should I check back for the fixes? > > Emily > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of David > Jencks > Sent: Monday, September 09, 2002 1:09 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] build error jboss 4.0.0alpha > > You are ok, I'll fix the build scripts. I didn't try build-all when I > updated xdoclet and missed these targets. > > thanks > david jencks > On 2002.09.09 15:30:46 -0400 Emily Short wrote: > > Hi, > > > > > > > > I'm using ant 1.4.1 and have used it to build jboss 4.0.0alpha before, > > so I don't know what happened since then. Now, however, when I run > > "build all" from the jboss-all/build it fails whenever it hits > something > > like this > > > > > > > > <!-- Generate TODO list from @todo tags --> > > > > <target name="docs-todo" > > > > depends="docs-todo-check" > > > > unless="docs-todo.disable"> > > > > > > > > <todo sourcepath="${source.java}" > > > > destdir="${build.todo}" > > > > classpathref="xdoclet.task.classpath"> > > > > > > > > <fileset dir="${source.java}"> > > > > <include name="**/*.java"/> > > > > </fileset> > > > > > > > > <info/> > > > > </todo> > > > > </target> > > > > > > > > > > > > giving the error: > > > > > > > > BUILD FAILED > > > > file:C:/jboss-src/jboss-all/common/build.xml:346: The 'sourcepath' > > attribute can not be used anymore. Use <fileset> to define the files > to > > parse > > > > > > > > I'd rather not go through all the build files and change sourcepath > > attributes to nested fileset tags. Is there something I'm doing > wrong? > > > > > > > > Thanks, > > Emily > > > > > > <html> > > > > <head> > > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> > > > > > > <meta name=Generator content="Microsoft Word 10 (filtered)"> > > > > <style> > > <!-- > > /* Style Definitions */ > > p.MsoNormal, li.MsoNormal, div.MsoNormal > > {margin:0in; > > margin-bottom:.0001pt; > > font-size:12.0pt; > > font-family:"Times New Roman";} > > a:link, span.MsoHyperlink > > {color:blue; > > text-decoration:underline;} > > a:visited, span.MsoHyperlinkFollowed > > {color:purple; > > text-decoration:underline;} > > span.EmailStyle17 > > {font-family:Arial; > > color:windowtext;} > > @page Section1 > > {size:8.5in 11.0in; > > margin:1.0in 1.25in 1.0in 1.25in;} > > div.Section1 > > {page:Section1;} > > --> > > </style> > > > > </head> > > > > <body lang=EN-US link=blue vlink=purple> > > > > <div class=Section1> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>Hi,</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>I’m using ant 1.4.1 and have used it to build > > jboss > > 4.0.0alpha before, so I don’t know what happened since > then. > > Now, > > however, when I run “build all” from the jboss-all/build > it > > fails > > whenever it hits something like this</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'><!-- Generate TODO list from @todo tags > > --></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> <target name="docs-todo" > > </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > > font-family:Arial'>   > ; > > > > depends="docs-todo-check" </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > > font-family:Arial'>   > ; > > > > unless="docs-todo.disable"></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> <todo > > sourcepath="${source.java}"</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > > font-family:Arial'>   > ; > > destdir="${build.todo}"</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > > font-family:Arial'>   > ; > > classpathref="xdoclet.task.classpath"></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> <fileset > > dir="${source.java}"></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> > <include > > name="**/*.java"/></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> > > </fileset></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> > > <info/></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </todo></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </target></span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>giving the error: </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>BUILD FAILED</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>file:C:/jboss-src/jboss-all/common/build.xml:346: > The > > 'sourcepath' > > attribute can not be used anymore. Use <fileset> to define > > the > > files to parse</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>I’d rather not go through all the build files > > and > > change sourcepath attributes to nested fileset tags. Is there > > something I’m > > doing wrong?</span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'> </span></font></p> > > > > <p class=MsoNormal><font size=2 face=Arial><span > style='font-size:10.0pt; > > font-family:Arial'>Thanks,<br> > > Emily</span></font></p> > > > > </div> > > > > </body> > > > > </html> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user