Salut,
adding JAXB file the failure, but now the test fail:
> [INFO] Surefire report directory: /Users/jeanfrancoisarcand/workspace/grizzly/trunk/code/contribs/grizzly-config/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running TestSuite
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.284 sec <<< FAILURE!
>
> Results :
>
> Failed tests:
> processConfig(com.sun.grizzly.config.GrizzlyConfigTest)
> defaults(com.sun.grizzly.config.GrizzlyConfigTest)
>
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 2866)
> +++ pom.xml (working copy)
> @@ -131,6 +131,11 @@
>
> <dependencies>
> <dependency>
> + <groupId>javax.xml.bind</groupId>
> + <artifactId>jaxb-api</artifactId>
> + <version>2.1</version>
> + </dependency>
> + <dependency>
> <groupId>com.sun.grizzly</groupId>
> <artifactId>grizzly-http</artifactId>
> <version>${grizzly-version}</version
Thanks
-- Jeanfrancois
Justin Lee wrote:
> That's the implicit dep on java6 i mentioned in the meeting. I'll play
> with that this morning. It's missing the javax.xml.stream dependency
> basically.
>
>
> Jeanfrancois Arcand wrote:
>> Salut,
>>
>>> [INFO] [hk2:hk2-compile]
>>> [INFO] Compiling 20 source files to
>>> /Users/jeanfrancoisarcand/workspace/grizzly/trunk/code/contribs/grizzly-config/target/classes
>>>
>>> /Users/jeanfrancoisarcand/workspace/grizzly/trunk/code/contribs/grizzly-config/src/main/java/com/sun/grizzly/config/Utils.java:74:
>>> cannot access javax.xml.stream.XMLStreamReader
>>> file javax/xml/stream/XMLStreamReader.class not found
>>> final DomDocument document = parser.parse(url, new
>>> DomDocument(habitat));
>>> ^
>>> 1 error
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Fatal error compiling
>>
>> I think the JAXB jar must be explicitly added in domain.xml
>>
>> A+
>>
>> -- jeanfrancois
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>