Multiple configuration issues on linux

NDP <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Running 2.8.2 on FC8.

Here's my laundry-list of problems:
1. when I run build.sh; JAVABIN ends up pointing to /usr/bin/java/bin/java -
which is technically correct (/usr/bin/java is a link to
/usr/java/jdk1.6.0_15) but it causes an error when the script runs, so I
modified the script to set JAVABIN to /usr/java/jdk1.6.0_15/bin/java
explicitly - this seems to fix the problem).

2. Tests fail.  They seem to just hang on testBuildLoop.  So I used
-Dskip.test=true, and that allows the build to complete successfully.

3. reporting/jsp has a build.sh.  reporting/dashboard does not. 
reporting/jsp/build.sh required the same modification as the main/build.sh.

4. When I drop the .war files into my tomcat's webapps directory, the apps
deploy.  But both FAIL to see the specified logs directory, and
dashboard-config.xml.   
4a. I did specify a valid directory, but for logs, I just get the message
"logDir must be set to a directory" then it tells me what I've set it to -
which is a valid unix path.  But the cruisecontrol.war can't see it.  ONLY
ONE configuration seems to work.  If I go into the web.xml for the
cruisecontrol web app, if I specify a <param-value> of ., it seems to point
me to /usr/share/tomcat5.  Of course, this is still semi-non-functional, but
it's better than ANY other path I set it to.  Why can't cruisecontrol.war
see any path outside of the default tomcat directory?   I tried setting a
relative path, but that didn't work.  I also tried creating a link to my
specified directory, but that didn't work either.
4b. For dashboard.war, I've tried setting the value for dashboard.config in
the Tomcat Startup as a value for JAVA_OPTS.  I tried setting it in
catalina.properties.  I tried setting it in tomcat5.conf.  I tried setting
it in web.xml.  I tried setting it in every other place I could think of. 
Why is dashboard.war NOT seeing this system property that I'm setting 8 ways
to sunday?  It's like both of these apps are in some kind of locked-down
sandbox, and can't see anything but their current-directory (if they can
even really see that).

5. I'm looking for examples of correct syntax to use SVN for our source
control repository for the project I'm building.  The documented syntax
fails:
<target name="build" time="0 seconds">
		<task location="/home/autoBuild/autobuild/my-project.xml:8: " name="svn"
time="0 seconds" />
	</target>
	<stacktrace><![CDATA[/home/autoBuild/autobuild/my-project.xml:8: Problem:
failed to create task or type svn
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


The syntax I've used was:
<svn command="up" username="myuser" password="mypassword"/>


Thanks for looking at this. Any help would be. . . . helpful.

- NDP
-- 
View this message in context: http://old.nabble.com/Multiple-configuration-issues-on-linux-tp26601434p26601434.html
Sent from the CruiseControl - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.