|
|
|
bwonch
|
Hi everyone - I'm new to the site and the tool.
I've got a simple script that pulls stats from our subversion install - here's the script: # Set PATH PATH=$PATH:/opt/CollabNet_Subversion/bin # Clean up the webapps/delivery folder rm -rf /opt/apache-tomcat/webapps/internet/trunk rm -rf /opt/apache-tomcat/webapps/internet/Internet-1.0.0 # Go to ProEdge Local Working Copy for Trunk cd /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com # Update svn repository /opt/CollabNet_Subversion/bin/svn update # Generate log file /opt/CollabNet_Subversion/bin/svn log -v --xml > internet_LogFile.log # make site /usr/java/jdk1.5.0_15/jre/bin/java -jar /usr/local/bin/statsvn-0.4.1/statsvn.jar -output-dir /opt/apache-tomcat/webapps/internet/trunk -include **/trunk/**/*.* /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com/internet_LogFile.log /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com /usr/java/jdk1.5.0_15/jre/bin/java -jar /usr/local/bin/statsvn-0.4.1/statsvn.jar -output-dir /opt/apache-tomcat/webapps/internet/Internet-1.0.0 -include **/1.0.0/**/*.* /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com/internet_LogFile.log /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com The first statsvn call works fine - where I have problems is where I try to extract the 1.0.0 branch stuff from the logs. Wheen that happens, I get the following error: Nov 26, 2008 3:14:08 PM net.sf.statsvn.util.JavaUtilTaskLogger error SEVERE: directory does not exist: branches/1.0.0/site.comMaven/pom.xml Can anyone give me some advice? |
|
Jason Kealey-2
|
What happens if you add a trailing / to your path name?
Jason
On Wed, Nov 26, 2008 at 5:00 PM, bwonch <[hidden email]> wrote:
-- Jason Kealey - [hidden email] LavaBlast Franchise Software - http://www.lavablast.com Simplifying day-to-day franchise operations ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Statsvn-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/statsvn-users |
||||||||||||||||
|
bwonch
|
It has the same behavior. The strange thing is that this:
/usr/java/jdk1.5.0_15/jre/bin/java -jar /usr/local/bin/statsvn-0.4.1/statsvn.jar -output-dir /opt/apache-tomcat/webapps/internet/trunk -include **/trunk/**/*.* /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com/internet_LogFile.log /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com works fine. It only fails when it hits this block: /usr/java/jdk1.5.0_15/jre/bin/java -jar /usr/local/bin/statsvn-0.4.1/statsvn.jar -output-dir /opt/apache-tomcat/webapps/internet/Internet-1.0.0 -include **/1.0.0/**/*.* /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com/internet_LogFile.log /usr/data/cruisecontrol/work/projects/statsvn/internet/site.com
|
||||||||||||||||
|
bwonch
|
Jason suggested I change the "-include **/1.0.0/**/*.*" to "-include **/branches/1.0.0/**/*.*", and now everything is working. Thanks for your help, Jason. :)
|
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |