|
Re: Build problem: msg#00015java.enhydra.xmlc
Thank you, David and Jake, I can build now. I have two questions here. 1) Where ca I find the XMLC command related files? 2) Which class(es) do I need to use to parse an html(xhtml) file to a Document/LazyHTMLDocument? Thanks, Xue-Feng --- David Li <david@xxxxxxxxxxxxxxxxx> wrote: > Change the following line in > xmlc/xmlc/modules/xmlc/build-default.properties > > build.compiler=jikes > > to > > build.compiler=modern > > David > > > On Monday, Mar 3, 2003, at 00:11 Asia/Shanghai, > Xue-Feng Yang wrote: > > > It is much better. It looks the error message was > > misleading since I checked the optional.jar that > > > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask > > was there. Some other classes may be missing > there. > > > > > > However, I had the attached error message. I use > Sun > > JDK not jikes. Do I have to modify build.xml > manually? > > Or there is a way to configue this. > > > > Thanks, > > > > Xue-Feng > > > > BUILD FAILED > > > file:D:/Programs/cvs/XMLC/xmlc/modules/xmlc/build.xml:139: > > Error running jikes compiler > > > > > > > > > > > > --- Jacob Kjome <hoju@xxxxxxxx> wrote: > > >> By "root", I mean the top level directory which > >> contains a build.xml > >> file. For instance, here is how it looks on my > >> machine.... > >> > >> > D:\myclasses\Repository\Enhydra\XMLC_2002-12-31\XMLC > >> > >> I created the "XMLC_2002-12-31" directory myself. > >> The "XMLC" directory was > >> created via the checkout of the XMLC project from > >> CVS. > >> > >> Here is the problem. I just double checked this > for > >> myself. I removed > >> junit-3.8.1.jar from ANT_HOME/lib (which I had > put > >> there intentionally for > >> another project that uses JUnit). I ran a simple > >> "ant clean" and got this.... > >> > >> > > > D:\myclasses\Repository\Enhydra\XMLC_2002-12-31\XMLC>ant > >> clean > >> Buildfile: build.xml > >> > >> clean: > >> > >> call-subprojects: > >> > >> init: > >> > >> BUILD FAILED > >> > > > file:D:/myclasses/Repository/Enhydra/XMLC_2002-12-31/XMLC/libraries/ > > > util/modules > >> /junitTivano/build.xml:79: taskdef class > >> org.apache.tools.ant.taskdefs.optional. > >> junit.JUnitTask cannot be found > >> > >> > >> So, the moral of the story is, put the junit jar > in > >> ANT_HOME/lib before > >> running ant. You will get better results. > >> > >> Now just do: > >> > > > D:\myclasses\Repository\Enhydra\XMLC_2002-12-31\XMLC>ant > >> > >> And everything will be built for you. > >> > >> Jake > >> > >> > >> At 09:14 PM 3/1/2003 -0500, you wrote: > >>> I don't know which "root" you talked about. Let > me > >>> copy the error messages which I run under three > >>> different directories: > >>> > >>> /******1********/ > >>> D:\Programs\cvs\XMLC\xmlc>ant > >>> Buildfile: build.xml > >>> > >>> prepare: > >>> [mkdir] Created dir: > >>> D:\Programs\cvs\XMLC\xmlc\classes > >>> > >>> copy: > >>> > >>> BUILD FAILED > >>> file:D:/Programs/cvs/XMLC/xmlc/build.xml:55: > Must > >>> specify a file not a directory > >>> in the filtersfile > >>> attribute:D:\Programs\cvs\build\runtime.filters > >>> > >>> Total time: 2 seconds > >>> D:\Programs\cvs\XMLC\xmlc>cd .. > >>> > >>> D:\Programs\cvs\XMLC>ant > >>> Buildfile: build.xml > >>> > >>> lib: > >>> > >>> call-subprojects: > >>> > >>> init: > >>> > >>> BUILD FAILED > >> > >> > file:D:/Programs/cvs/XMLC/libraries/util/modules/junitTivano/ > > >> build.xml:79: > >>> taskd > >>> ef class > >> > >> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTask > >>> cannot be found > >>> > >>> Total time: 1 second > >>> > >>> /******2********/ > >>> D:\Programs\cvs\XMLC\xmlc>ant > >>> Buildfile: build.xml > >>> > >>> prepare: > >>> > >>> copy: > >>> > >>> BUILD FAILED > >>> file:D:/Programs/cvs/XMLC/xmlc/build.xml:55: > Must > >>> specify a file not a directory > >>> in the filtersfile > >>> attribute:D:\Programs\cvs\build\runtime.filters > >>> > >>> Total time: 2 seconds > >>> > >>> /******3********/ > >>> D:\Programs\cvs\XMLC\xmlc\modules\xmlc>ant > >>> Buildfile: build.xml > >>> > >>> init: > >>> > >>> BUILD FAILED > >> > >> > file:D:/Programs/cvs/XMLC/xmlc/modules/xmlc/build.xml:111: > >>> taskdef class org.apa > >>> che.tools.ant.taskdefs.optional.junit.JUnitTask > >> cannot > >>> be found > >>> > >>> Total time: 2 seconds > >>> > >>> > >>> > >>> --- Jacob Kjome <hoju@xxxxxxxx> wrote: > > >>>> I take that back. There does seem to be > >> something > >>>> wrong with running the > >>>> tests. However, if you just do cd to the root > >> of > >>>> the project build and > >>>> type "ant", that will run the "lib" target > which > >>>> will succeed under > >>>> Ant-1.5.1 and ant-1.5.2beta1. > >>>> > === message truncated === ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Build problem, David Li |
|---|---|
| Next by Date: | Re: Build problem, David Li |
| Previous by Thread: | Re: Build problem, David Li |
| Next by Thread: | Re: Build problem, David Li |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |