Skip to content
mhenke edited this page Jan 31, 2012 · 2 revisions

Are you doing local develop? If so setup ant then you should be able to run the build.xml via the command line.

[links for setting up ant]

So, in the build.properties file, what lines should I change if my code base is at c:\thisfolder\folderHoldsCode and iis is pointing to the folderHoldsCode folder...

  1. place build.xml in the folderHoldsCode folder? Seems correct
  2. what settings do I change to match my work area? We can really document the properties and give examples from the build.properties. Pretty much them all I think.
  1. lib folder also in the folderHoldsCode folder? yes
  1. i guess I can download them...i have run qpscanner from CFbuilder2, but not varscoper yet. This is for other inspections like varscoper and qpscanner.

Then, once these are all placed in the right place, and the build.prop file is updated, then I can run what at the command line?

Yes, it will be "ant all" this will run all our inspections.

We don't have

hudson/jenkins/ect, so this would have to be run at command line, or within CFBuilder 2...if i don't user builder, i guess i have to download ANT?

We want to be able to run this phase through the command line. Eclipse (CFBuilder, CFEclipse) has ant installed inside it but we don't want to depend on Eclipse when you start using Jenkins eventually.

So I don't have to do anything with the db stuff? Not at the moment.

So, if I filled in certain

parts of the build file that you described in the wiki, i might be able to run it? Yes.

Also, you mentioned ant all...still not sure how to run that? check out the wiki, https://github.com/mhenke/Cloudy-With-A-Chance-Of-Tests/wiki/Details-ubuntu step 7

So, let's say

for my beginners testing I just want to run Cloudy from within builder2...I thought there was a way to run ant script...i guess i'd need to know what is the ant script, or would I click on the build file and run as ant script? I usually open the build.xml then run the target through the outline view

Or, am I not correct in anything I have said :) If not run in builder 2, then running command line, do I have to cd to a particular directory, and then type what, just ANT ALL? yes, you will run the ant command in the directory containing the build.xml