You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by David Le Strat <dl...@yahoo.com> on 2005/08/01 04:53:51 UTC
Re: svn commit: r226685 - /portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
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?
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
Re: svn commit: r226685 - /portals/jetspeed-2/trunk/etc/db-ojb/repository_database.xml
Posted by Ate Douma <at...@douma.nu>.
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