You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Gilles Dodinet <rh...@wanadoo.fr> on 2003/05/30 12:11:20 UTC

[patch] DefaultProjectUnmareshaller

hi-

to test the ProjectMarshaller ive written i use the ProjectUnmarshaller. 
However, the Unmarshaller doesnt respect the mavan-project.xsd.  Instead 
of modifying it all i chose to modify the Marshaller, tho some elements 
are still missing, ive added the aspectSourceDirectory and 
intgrationUnitTestSourceDirectory. No biggie but it helped me a lot.
A question araises then : why does the unmarshaller doesnt conform to 
the schema ? is the xsd deprecated ?



Index: DefaultProjectUnmarshaller.java
===================================================================
RCS file: 
/home/cvspublic/maven-new/core/src/java/org/apache/maven/project/builder/DefaultProjectUnmarshaller.java,v
retrieving revision 1.8
diff -u -r1.8 DefaultProjectUnmarshaller.java
--- DefaultProjectUnmarshaller.java    29 May 2003 20:26:22 -0000    1.8
+++ DefaultProjectUnmarshaller.java    30 May 2003 10:00:45 -0000
@@ -434,6 +434,14 @@
                         {
                             b.setUnitTestSourceDirectory( 
parser.nextText() );
                         }
+             else if ( parser.getName().equals( 
"integrationUnitTestSourceDirectory" ) )
+             {
+                 b.setIntegrationUnitTestSourceDirectory( 
parser.nextText() );
+             }
+             else if ( parser.getName().equals( "aspectSourceDirectory" ) )
+             {
+                 b.setAspectSourceDirectory( parser.nextText() );
+             }
                         else if ( parser.getName().equals( "unitTest" ) )
                         {
                             UnitTest ut = new UnitTest();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [upload request] MockCreator

Posted by Gilles Dodinet <rh...@wanadoo.fr>.
the mockobjects.0.01.jar isnot needed, the 0.07 (even the 0.09 i guess) 
can be used instead of that prior version. In any case, if you want to 
upload it,  it should of course have in its own dir (mockobjects, 
already present).

Thanks.


Ben Walding wrote:

> Done.
>
> What is the mockobjects-0_01.jar for?
>
> I've set the perms to 000 until I know what it is and what is should 
> be called version wise. (i.e. it should possibly have it's own dirs?)
>
> Cheers,
>
> Ben
>
> Gilles Dodinet wrote:
>
>> hi-
>>
>> should it possible to upload mockcreator-0.2.4 
>> (http://mockcreator.com/mockcreator/MockCreator-024-runtime.zip) ? 
>> included in the zip is the 0.2.4 version (de.abstrakt.mock.jar).
>>
>> thanks.
>>
>> -- gd
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [upload request]

Posted by Ben Walding <de...@walding.com>.
Done.

What is the mockobjects-0_01.jar for?

I've set the perms to 000 until I know what it is and what is should be 
called version wise. (i.e. it should possibly have it's own dirs?)

Cheers,

Ben

Gilles Dodinet wrote:

> hi-
>
> should it possible to upload mockcreator-0.2.4 
> (http://mockcreator.com/mockcreator/MockCreator-024-runtime.zip) ? 
> included in the zip is the 0.2.4 version (de.abstrakt.mock.jar).
>
> thanks.
>
> -- gd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[upload request]

Posted by Gilles Dodinet <rh...@wanadoo.fr>.
hi-

should it possible to upload mockcreator-0.2.4 
(http://mockcreator.com/mockcreator/MockCreator-024-runtime.zip) ? 
included in the zip is the 0.2.4 version (de.abstrakt.mock.jar).

thanks.

-- gd


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org