Hi Thorsten,

I've been using the fornax/oaw maven plugin for my project and I think
I've come across a bug. The problem is in adding resource directories as
test or normal directories. I've already emailed the mailing list on
this problem, don't know if you saw it.
(http://www.nabble.com/Eclipse-project-generation-using-the-fornax-maven-plugin-td17530941s17564.html)
 

Attached is a patch for the current SVN version of the plugin, checked
out
from 
https://fornax.svn.sourceforge.net/svnroot/fornax/trunk/toolsupport/maven2/fornax-toolsupport-oaw-m2.
 The problem is in finally adding the resource to the list of resources within 
maven.

Hope you may be able to apply the patch.

Regards,


Jeroen Benckhuijsen

Software Architect

Atos Origin BAS Emerging Technologies

High Tech Campus 52
5656 AA Eindhoven
The Netherlands

    +31 (0)6 - 222 100 72
    +31 (0)88 - 265 58 45
     mailto:[EMAIL PROTECTED]
     http://www.linkedin.com/in/jeroenbenckhuijsen
     http://www.nl.atosorigin.com


<<attachment: tsclient.png>>

<<attachment: evolution.xpm>>

<<attachment: phone.png>>

<<attachment: modem.png>>

Index: src/main/java/org/fornax/toolsupport/maven2/OawWorkflowMojo.java
===================================================================
--- .	(revision 3413)
+++ .	(working copy)
@@ -489,7 +489,7 @@
 		getLog().info("Adding "+fileRes.getPath()+" to the list of current resources.");
 		Resource resource = new Resource();
 		resource.setDirectory(fileRes.getPath());
-		project.getResources().add(resource);
+		resources.add(resource);
 	}
 
 	/**
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to