From: Suhas R. M. <suh...@or...> - 2008-04-10 21:48:38
|
No issues, Kal and I certainly appreciate your response and help. Here's an update. I'd downloaded the code from TM4J 0.9.7 <http://tm4j.org/downloads.html>. I tried compiling the code via the command line (using build.bat). Here I get the following failure error. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= BUILD FAILED D:\Projects\apache-ant-1.7.0\build.xml:1105: The following error occurred while executing this line: D:\Projects\apache-ant-1.7.0\build.xml:911: We cannot build the test jar unless JUnit is present, as JUnit is needed to compile the test classes. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Later, I tried compiling JDeveloper where it threw several errors including EclipseProjectTest.java. Finally, on Eclipse v3.3.2 I was able to resolve all the issues by excluding the org.tm4j.ant.test package from Eclipse. I'm still unsure as to why would it fail to compile EclipseProjectTest.java. But I guess, for now, it wouldn't hurt to not have these test classes. I'm currently working on understanding the code going through the developer guide. You mention that I can get code from CVS. How do I get access to the CVS repository? Thanks, Suhas. Kal Ahmed wrote: > Hi Suhas, > > Sorry for the delay in replying. > > I've just grabbed a complete fresh copy of the source tree from CVS > and built it with the build.bat script on my Windows box. The build > went through without a problem. The file that is reported as missing > is in the source tree (in the directory src/org/tm4j/ant/test/). Can > you check if that file is present on your machine (if not it might > just be a CVS glitch and you might want to try doing a CVS update or > event checking out the tree again), if its not a missing file issue > perhaps you could tell us a bit more about how you are building the > project (command-line ? JDeveloper?) and anything else you think might > help us get to the bottom of the compilation problem > > Cheers > > Kal > > On Tue, Apr 8, 2008 at 6:30 PM, Suhas R. Mehta <suh...@or... > <mailto:suh...@or...>> wrote: > > Hi, > > I've been trying to setup the TM4J development env. and am having > some difficulties in getting the source code compiled. > > I'm seeing several compilation errors but looks like they all stem > from: > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Severity and Description Path Resource Location > Creation Time Id > BuildFileTest cannot be resolved to a type > TM4J/src/org/tm4j/ant/test EclipseProjectTest.java line > 39 1207171035414 187126 > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > I'm unable to find BuildFileTest class in ant.jar that came > packaged with TM4J. I also tried compiling "*apache-ant-1.7.0*" > project but that too didn't create the class file. > > Is there any particular ordering I should follow when including > the jar files in my project? Is there any setup document for > someone like me to get started in setting up the dev. env. as well > as running the tests. > > When you have a chance, would you please respond to this email and > help me out. > > Thanks, > Suhas. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > <mailto:Tm4...@li...> > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > |