Paul:
I'm guessing that you built from the source distribution? It's missing some of the files from the root directory. Paul Julius fixed some of these, but I believe that version.properties is still missing.
The easiest way to get you up and running is to just have you create the file yourself. In cruisecontrol/main, create a file named version.properties. The only contents of the file should be the following line:
version = @VERSION@
And then rebuild CruiseControl. That should fix the problem. We'll make sure that the file is included in future releases.
alden
On Thursday, September 26, 2002, at 06:22 PM, Paul Schmidt wrote:
When I try to run CruiseControl via cruisecontrol.sh, I get the following output:
farseer:(16:09)/usr/local/releng/cc1/perforce/dev4> scm/cruisecontrol/cruisecontrol.sh -projectname dev4 -lastbuild 20020101000000 -label dev4.0 -configfile scm/cruisecontrol/config.xml
java -cp /usr/java1.3/lib/tools.jar:/usr/local/releng/cruisecontrol2/dist/cruisecontrol.jar:/usr/local/releng/cruisecontrol2/lib/log4j.jar:/usr/local/releng/cruisecontrol2/lib/jdom.jar:/usr/local/releng/cruisecontrol2/lib/ant.jar:/usr/local/releng/cruisecontrol2/lib/xerces.jar:/usr/local/releng/cruisecontrol2/lib/mail.jar:/usr/local/releng/cruisecontrol2/lib/optional.jar:/usr/local/releng/cruisecontrol2/lib/junit.jar:/usr/local/releng/cruisecontrol2/lib/activation.jar:. CruiseControl -projectname dev4 -lastbuild 20020101000000 -label dev4.0 -configfile scm/cruisecontrol/config.xml
Exception in thread "main" java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:64)
at java.io.InputStreamReader.<init>(InputStreamReader.java:89)
at java.io.InputStreamReader.<init>(InputStreamReader.java:78)
at java.util.Properties.load(Properties.java:189)
at net.sourceforge.cruisecontrol.Main.printVersion(Main.java:300)
at net.sourceforge.cruisecontrol.Main.main(Main.java:62)
at CruiseControl.main(CruiseControl.java:68)
farseer:(16:10)/usr/local/releng/cc1/perforce/dev4>
Here's my config.xml:
<cruisecontrol>
<project name="dev4">
<bootstrappers>
<currentbuildstatusbootstrapper file="currentbuild.txt"/>
</bootstrappers>
<modificationset quietperiod="60" dateformat="yyyy-MMM-dd HH:mm:ss">
<p4 port="perforce.eng.xtime.com:1666" user="releng" client="releng-cc1"
view="//depot/dev4/..."/>
</modificationset>
<schedule interval="60" intervaltype="relative">
<ant buildfile="build.xml" target="cc.cleanbuild" multiple="1"/>
</schedule>
<log dir="/usr/local/releng/cclogs/dev4-main" encoding="UTF-8"/>
<publishers>
<currentbuildstatuspublisher file="currentbuild.txt"/>
<email mailhost="axis" returnaddress="releng@xxxxxxxxx"
defaultsuffix="@xtime.com" buildresultsurl="http://foobar"
spamwhilebroken="false">
<always address="pds"/>
<failure address="pds"/>
</email>
</publishers>
<dateformat format="yyyy-MMM-dd HH:mm:ss"/>
</project>
</cruisecontrol>
Any ideas?
-Paul
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user