You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/05/31 02:22:08 UTC
svn commit: r542990 -
/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy
Author: jdillon
Date: Wed May 30 17:22:08 2007
New Revision: 542990
URL: http://svn.apache.org/viewvc?view=rev&rev=542990
Log:
Actually create the client before using it
Modified:
geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy
Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy?view=diff&rev=542990&r1=542989&r2=542990
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy (original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/codestation/LibraryImpl.groovy Wed May 30 17:22:08 2007
@@ -38,6 +38,9 @@
String setName
String stamp
+ // Unused
+ Long buildLifeId
+
def LibraryImpl(URL serverURL, String projectName, String workflowName, String setName, String stamp, File baseDir) {
super(baseDir)
@@ -60,6 +63,8 @@
assert !exists()
baseDir.parentFile.mkdirs()
+ createClient()
+
// The client works on a workingDir, and then relative target directories, so to avoid
// needing to configure both, set the parent as the workingDir, and then use the child's
// name for the relative bits below
@@ -109,7 +114,10 @@
*/
private CodestationClient createClient() {
CodestationClient client = new CodestationClient(serverUrl, !checkCertificate)
- client.debug = debug
+ client.debug = true
+
+ /*
+ Use ~/.codestation/codestation.properties for auth configuration
if (username) {
client.username = username
@@ -117,6 +125,7 @@
if (password) {
client.password = password
}
+ */
return client
}