Re: [Cfunit-public] RE: CFUnit-Ant
Brought to you by:
skorpiun
|
From: SkorPiun <sko...@us...> - 2005-11-21 21:14:26
|
OK, I added this step to the help document. Thanks for pointing this out Bill On 11/21/05, Bill Rawlinson <bi...@ra...> wrote: > I was just messing with the CFUNIT-ANT jar file and the instructions > on the website to get automatic test builds to execute whenever a > resource is modified. > > I don't know if the following is unique to my setup, and I don't know > why it would be, but I had to add a step to your instructions in order > to get the build to happen automatically. > > Your first 5 steps are perfect... > 1 Right click the project and click "properties" (or select "Project" > > "Properties" in the tool bar) > 2 Select "Builders" along the left of the properties window, and then > click the "New" button > 3 Select "Ant Build", and click "OK" > 4 Give the builder a name in the "Name:" field. > 5 In the "Buildfile" field, enter the location of your build XML file > using the "Browse Workspace..." button > > > However, I needed a step 5.5: > 5.5 Go to the Targets Tab, select "Set Targets" by the Auto Build > section, then hit OK on the dialog that pops up. This sets the > default target (main) for the build.xml file in my coldfusion project. > Without this defined the autobuild will fail. And, if you try to > manually run the build.xml file it fails with an error "taskdef class > net.sourceforge.cfunit.ant.CFUnit cannot be found" > > Basically, what I'm saying is if your Eclipse install doesn't have a > default build target defined then you need to make sure one is or else > CFUNIT-ANT won't work for you. > > Bill > > -- > bil...@gm... > http://blog.rawlinson.us > > If you want Gmail - just ask. > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id=16845&opclick > _______________________________________________ > CFUnit-public mailing list > CFU...@li... > https://lists.sourceforge.net/lists/listinfo/cfunit-public > |