A small patch would be really helpful in making the model DSpace directories usable both for installation and for unit testing. I need a way for dspace.cfg to be copied differently in those two environments, such that in the test environment dspace.dir points at the test environment and mail.server points at something that might work.
Comments? Suggestions for testing, beyond just 'mvn package' and look
at the result? (All those profiles are scaring me.)
Index: pom.xml
===================================================================
--- pom.xml (revision 6508)
+++ pom.xml (working copy)
@@ -30,6 +30,11 @@
<url>http://scm.dspace.org/svn/repo/dspace/trunk/dspace</url>
</scm>
+ <properties>
+ <default.dspace.dir>/dspace</default.dspace.dir>
+ <default.mail.server>smtp.example.com</default.mail.server>
+ </properties>
+
<profiles>
<!--
Index: config/dspace.cfg
===================================================================
--- config/dspace.cfg (revision 6508)
+++ config/dspace.cfg (working copy)
@@ -22,7 +22,7 @@
##### Basic information ######
# DSpace installation directory
-dspace.dir = /dspace
+dspace.dir = ${default.dspace.dir}
# DSpace host name - should match base URL. Do not include port
number
dspace.hostname = localhost
@@ -86,7 +86,7 @@
##### Email settings ######
# SMTP mail server
-mail.server=smtp.myu.edu
+mail.server = ${default.mail.server}
# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
--
Mark H. Wood, Lead System Programmer [email protected]
Asking whether markets are efficient is like asking whether people are smart.
pgpFPom7jpprK.pgp
Description: PGP signature
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
