Re: svn commit: r149154 - jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java

2005-02-02 Thread Oleg Kalnichevski
  Brett,
  
  Unfortunately this doesn't help. The trouble is that junit resource
  files do not seem to be copied to HOME/target/test-classes/
 
 If you declare the resources inside your unit test element they should be:
 
 unitTest
   includes
 ...
   /includes
   resources
 resource
   directorysrc/test/directory
   includes
 include**/*.properties/include
   /includes
 /resource
   /resources
 /unitTest
 
 
 Does that help?
 

It truly does. Many thanks, Brett

Oleg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r149154 - jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java

2005-02-01 Thread Oleg Kalnichevski
On Mon, 2005-01-31 at 06:44 +0800, Brett Porter wrote:
 Yuck :) Can we help fix this?
 
 IIRC, other people having problems have corrected them by using
 /org/apache/commons/... (note leading /). 

Brett,

Unfortunately this doesn't help. The trouble is that junit resource
files do not seem to be copied to HOME/target/test-classes/

If I manually copy the required resources to HOME/target/test-classes/
test cases perform as expected

Oleg


 It's been a while since I read the
 spec on this but it is because no / has a different classloader search 
 criteria
 which doesn't work inside Maven. I think another alternative is to fork the 
 unit
 tests.
 
 If these resolutions are correct, its probably time for a FAQ entry...
 
 - Brett
 
 Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
  Author: olegk
  Date: Sun Jan 30 13:02:40 2005
  New Revision: 149154
  
  URL: http://svn.apache.org/viewcvs?view=revrev=149154
  Log:
  Maven workaround
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r149154 - jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java

2005-02-01 Thread Brett Porter
Quoting Oleg Kalnichevski [EMAIL PROTECTED]:

 On Mon, 2005-01-31 at 06:44 +0800, Brett Porter wrote:
  Yuck :) Can we help fix this?
  
  IIRC, other people having problems have corrected them by using
  /org/apache/commons/... (note leading /). 
 
 Brett,
 
 Unfortunately this doesn't help. The trouble is that junit resource
 files do not seem to be copied to HOME/target/test-classes/

If you declare the resources inside your unit test element they should be:

unitTest
  includes
...
  /includes
  resources
resource
  directorysrc/test/directory
  includes
include**/*.properties/include
  /includes
/resource
  /resources
/unitTest


Does that help?

Cheers,
Brett

 
 If I manually copy the required resources to HOME/target/test-classes/
 test cases perform as expected
 
 Oleg
 
 
  It's been a while since I read the
  spec on this but it is because no / has a different classloader search
 criteria
  which doesn't work inside Maven. I think another alternative is to fork the
 unit
  tests.
  
  If these resolutions are correct, its probably time for a FAQ entry...
  
  - Brett
  
  Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]:
  
   Author: olegk
   Date: Sun Jan 30 13:02:40 2005
   New Revision: 149154
   
   URL: http://svn.apache.org/viewcvs?view=revrev=149154
   Log:
   Maven workaround
   
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r149154 - jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLSocketFactory.java jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/ssl/SimpleSSLTestProtocolSocketFactory.java

2005-01-30 Thread Brett Porter
Yuck :) Can we help fix this?

IIRC, other people having problems have corrected them by using
/org/apache/commons/... (note leading /). It's been a while since I read the
spec on this but it is because no / has a different classloader search criteria
which doesn't work inside Maven. I think another alternative is to fork the unit
tests.

If these resolutions are correct, its probably time for a FAQ entry...

- Brett

Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Author: olegk
 Date: Sun Jan 30 13:02:40 2005
 New Revision: 149154
 
 URL: http://svn.apache.org/viewcvs?view=revrev=149154
 Log:
 Maven workaround
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]