Hi Guys, here are the things I have tried.

1. I took my log.properties file and the one liner and made a main() that passed the -D parameter to the application.

java -Djava.util.logging.config.file=log.properties LogSpike

That worked fine and created the file with the severe error "Boo" in it.

2. The maven.junit.fork is not defined so the default No is being used.

3. In my maven.xml I created a preGoal for name as follows:

<preGoal name="test">
<j:set var="maven.junit.sysproperties">java.util.logging.config.file=/Users/ bzarnett/.../log.properties></j:set>
</preGoal>


4. I tried putting "maven.junit.sysproperties" into project.properties and build.properties

The Maven work did not create the expected file though. I presume I am using the sysproperties incorrectly.

Cheers,
Bryan


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



Reply via email to