portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: svn commit: r226685 - /portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
Date Mon, 01 Aug 2005 03:22:33 GMT
David Le Strat wrote:
> Thanks Ate.  I was just about to fix that. Just
> realized driving home that I had changed this for my
> eclipse unit testing...
> 
> When running unit tests in eclipse, I end up adding
> /etc/db-ojb and etc/log4j to my classpath to get the
> tests to run.  The substitution for
> repository_database.xml occurs in the target
> directory.  How are others getting around this?
Simple: only running them from the console and using remote debugging when I need to
(using an adapted maven script).
I guess transparently being able to run them from Eclipse would even be better,
but I never bothered with getting that working.

> 
> Regards,
> 
> David Le Strat.
> 
> --- ate@apache.org wrote:
> 
> 
>>Author: ate
>>Date: Sun Jul 31 12:44:37 2005
>>New Revision: 226685
>>
>>URL:
>>http://svn.apache.org/viewcvs?rev=226685&view=rev
>>Log:
>>Restoring overwritten @PLATFORM@ filter variable
>>
>>Modified:
>>   
>>
> 
> portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
> 
>>Modified:
>>
> 
> portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
> 
>>URL:
>>
> 
> http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml?rev=226685&r1=226684&r2=226685&view=diff
> 
> ==============================================================================
> 
>>---
>>
> 
> portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
> 
>>(original)
>>+++
>>
> 
> portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
> 
>>Sun Jul 31 12:44:37 2005
>>@@ -35,10 +35,9 @@
>> 	There is no need to specify any DB or JNDI info as
>>the
>>
> 
> org.springframework.orm.ojb.support.LocalDataSourceConnectionFactory
> 
>> 	defined in OJB.properties will be using a matching
>>Datasource that is defined in Spring.
>> 	-->
>>-	<!-- platform="@PLATFORM@" -->
>>     <jdbc-connection-descriptor
>>         jcd-alias="JetspeedDS"
>>-        platform="Hsqldb"
>>+        platform="@PLATFORM@"
>>         default-connection="true"
>>         jdbc-level="2.0"
>>         batch-mode="false"
>>
>>
>>
>>
> 
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>jetspeed-dev-unsubscribe@portals.apache.org
>>For additional commands, e-mail:
>>jetspeed-dev-help@portals.apache.org
>>
>>
> 
> 
> 
> ________________________
> David Le Strat
> Blogging @ http://dlsthoughts.blogspot.com
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> 
> 
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message