Permalink
Browse files

Using a mavenhome var for hardcoded maven libs

  • Loading branch information...
1 parent 94e67c4 commit a274c8c7bfeb6e60d0793b68690960c0feff8747 @brolund committed Mar 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/build.js
View
@@ -10,6 +10,7 @@ var par = async.parallel;
var auto = async.auto;
var builddir = 'javaroot/bin/';
+var mavenrepo = '/Users/danielbrolund/.m2/repository/'
var Cmd = function(cmd, dir, argArray) {
var res = {};
@@ -90,7 +91,7 @@ var std = function(dir) {
test: dir + "/src/test/java/",
testbin: dir + "/bin/test-classes/",
bin: dir + "/bin/classes/",
- testlib: ['/Users/danielbrolund/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar']
+ testlib: [mavenrepo + 'junit/junit/4.8.2/junit-4.8.2.jar']
}
console.log("Returning standard project object for " + dir);
console.log(p);

0 comments on commit a274c8c

Please sign in to comment.