You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by robert burrell donkin <ro...@blueyonder.co.uk> on 2002/12/15 16:09:43 UTC
copying .betwixt files into target/test-classes
i've recently upgraded to CVS HEAD
in order to the run the jakarta-commons-betwixt unit tests, the betwixt
files need to be copied into the target/test-classes folder (so that they'
re in the test classpath).
i added the following to the project.xml and everything seemed to work
fine.
<build>
<!-- T E S T R E S O U R C E S -->
<!-- Resources that are copied into the test-classes directory -->
<testResources>
<testResource>
<directory>${pom.build.unitTestSourceDirectory}</directory>
<includes>
<include>**/*.betwixt</include>
</includes>
</testResource>
</testResources>
</build>
after upgrading, this no longer works.
anyone have any ideas how i can fix this?
- robert
Re: copying .betwixt files into target/test-classes
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
jason consolidated the different kinds of resources. no more testResources
just resources. so, resource elements need to be added under unitTest.
this snippit is from the current (working) betwixt project.xml:
<unitTest>
<directory>${pom.build.unitTestSourceDirectory}</directory>
<includes>
<include>**/Test*</include>
</includes>
<resources>
<resource>
<directory>${pom.build.unitTestSourceDirectory}</directory>
<includes>
<include>**/*.betwixt</include>
</includes>
</resource>
</resources>
</unitTest>
- robert
On Sunday, December 15, 2002, at 08:40 PM, Jon Scott Stevens wrote:
> on 2002/12/15 8:10 AM, "robert burrell donkin"
> <ro...@blueyonder.co.uk> wrote:
>
>> i've got this fixed now (thank's to bob on IRC).
>>
>> - robert
>
> What was the fix?
>
> -jon
>
> --
> StudioZ.tv /\ Bar/Nightclub/Entertainment
> 314 11th Street @ Folsom /\ San Francisco
> http://studioz.tv/
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
>
Re: copying .betwixt files into target/test-classes
Posted by Jon Scott Stevens <jo...@latchkey.com>.
on 2002/12/15 8:10 AM, "robert burrell donkin"
<ro...@blueyonder.co.uk> wrote:
> i've got this fixed now (thank's to bob on IRC).
>
> - robert
What was the fix?
-jon
--
StudioZ.tv /\ Bar/Nightclub/Entertainment
314 11th Street @ Folsom /\ San Francisco
http://studioz.tv/
Re: copying .betwixt files into target/test-classes
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
i've got this fixed now (thank's to bob on IRC).
- robert
On Sunday, December 15, 2002, at 03:31 PM, robert burrell donkin wrote:
> this is looking (to me) more and more like a bug.
>
> some .betwixt files are successfully copied over - but not all.
>
> - robert
>
> On Sunday, December 15, 2002, at 03:09 PM, robert burrell donkin wrote:
>
>> i've recently upgraded to CVS HEAD
>>
>> in order to the run the jakarta-commons-betwixt unit tests, the betwixt
>> files need to be copied into the target/test-classes folder (so that
>> they'
>> re in the test classpath).
>>
>> i added the following to the project.xml and everything seemed to work
>> fine.
>>
>> <build>
>>
>> <!-- T E S T R E S O U R C E S -->
>> <!-- Resources that are copied into the test-classes directory -
>> ->
>> <testResources>
>> <testResource>
>> <directory>${pom.build.unitTestSourceDirectory}</directory>
>> <includes>
>> <include>**/*.betwixt</include>
>> </includes>
>> </testResource>
>> </testResources>
>> </build>
>>
>> after upgrading, this no longer works.
>>
>> anyone have any ideas how i can fix this?
>>
>> - robert
>>
>>
>> --
>> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
>> unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: <mailto:turbine-maven-dev-
>> help@jakarta.apache.org>
>>
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
>
Re: copying .betwixt files into target/test-classes
Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
this is looking (to me) more and more like a bug.
some .betwixt files are successfully copied over - but not all.
- robert
On Sunday, December 15, 2002, at 03:09 PM, robert burrell donkin wrote:
> i've recently upgraded to CVS HEAD
>
> in order to the run the jakarta-commons-betwixt unit tests, the betwixt
> files need to be copied into the target/test-classes folder (so that they'
> re in the test classpath).
>
> i added the following to the project.xml and everything seemed to work
> fine.
>
> <build>
>
> <!-- T E S T R E S O U R C E S -->
> <!-- Resources that are copied into the test-classes directory -->
> <testResources>
> <testResource>
> <directory>${pom.build.unitTestSourceDirectory}</directory>
> <includes>
> <include>**/*.betwixt</include>
> </includes>
> </testResource>
> </testResources>
> </build>
>
> after upgrading, this no longer works.
>
> anyone have any ideas how i can fix this?
>
> - robert
>
>
> --
> To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> help@jakarta.apache.org>
>