You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Shervin Asgari <sh...@linpro.no> on 2006/04/10 11:10:39 UTC
Failed, to load custom properties (Failed to run junit tests)
Hello. I am encountering problems when running build tests and build
rebuild tests.
I get the following error:
[sql] 106 of 106 SQL statements executed successfully
[junit] Running org.roller.business.BookmarkManagerTest
[junit] 10.apr.2006 10:39:02 java.util.jar.Attributes read
[junit] WARNING: Duplicate name in Manifest: Class-Path
[junit] 2006-04-10 10:39:02,896 WARN org.roller.config.RollerConfig -
failed
to load custom properties from
C:\Programfiler\Perforce\api\applications\main\roller\roller-src\.\build\tests\roller-custom.properties
The path
C:\Programfiler\Perforce\api\applications\main\roller\roller-src\ is my
workspace and obviously the path
$workspace\.\build\tests\roller-custom.properties does not exist. I need
to eliminate the current path "." and then it should be able to work. I
have looked in the build.xml file, but I cannot seem to find where to
locate this problem.
NOTE: All the business and presentation tests fail, it is not only this
one.
Kind Regards Shervin Asgari
Re: Failed, to load custom properties (Failed to run junit tests)
Posted by Allen Gilliland <Al...@Sun.COM>.
that is defined as "ro.build" in ant.properties. it should probably be
cleaned up though since "./" is probably a unix specific path element.
-- Allen
Shervin Asgari wrote:
> Hello. I am encountering problems when running build tests and build
> rebuild tests.
> I get the following error:
>
> [sql] 106 of 106 SQL statements executed successfully
> [junit] Running org.roller.business.BookmarkManagerTest
> [junit] 10.apr.2006 10:39:02 java.util.jar.Attributes read
> [junit] WARNING: Duplicate name in Manifest: Class-Path
> [junit] 2006-04-10 10:39:02,896 WARN org.roller.config.RollerConfig -
> failed
> to load custom properties from
> C:\Programfiler\Perforce\api\applications\main\roller\roller-src\.\build\tests\roller-custom.properties
>
>
> The path
> C:\Programfiler\Perforce\api\applications\main\roller\roller-src\ is my
> workspace and obviously the path
> $workspace\.\build\tests\roller-custom.properties does not exist. I need
> to eliminate the current path "." and then it should be able to work. I
> have looked in the build.xml file, but I cannot seem to find where to
> locate this problem.
> NOTE: All the business and presentation tests fail, it is not only this
> one.
>
> Kind Regards Shervin Asgari
>
>
>