Hi Milos, ok, that explains it.
Many Thanks for Your quick answer Roland Milos Kleint schrieb:
Hello Roland, The sample I've included in the bugreport is probably half-baked. I suppose the ${artifactID} tokens are to be replaced by the archetypeng-plugin (which wasn't released at all and will replace the default maven-archetype-plugin in near future). What you have done is definitely correct. The "to-be-done" archetype for creating netbeans platform apps will do the same thing automatically when creating the project. However it's not possible now with the current version of maven-archetype-plugin, I'm waiting for the archetypeng codebase to be released which fixes my issues. the nbm:branding goal itself doesn't do any filtering/ token replacements. Regards Milos On 10/30/07, Roland Klein <[EMAIL PROTECTED]> wrote:Hi list, is it correct, that the nbm:branding goal don't resolve the maven properties placed in the Bundle.properties files? Environment: 1. i downloaded the platform.zip from here http://jira.codehaus.org/browse/MNBMODULE-14 2. extracted to a folder "maven-platform-app2" 3. in the main pom.xml i changed the version for the nbm-maven-plugin from 2.4 to 2.6.2 4. on the command line i executed "mvn nbm:branding" 5. maven finished without errors 6. tried to start the platform with mvn nbm:cluster nbm:run-platform then i got the error > java.lang.IllegalArgumentException: can't parse argument number artifactId I investigated into this and found out, that in the branded files branding\target\nbm\netbeans\milos_cluster\core\locale\core_milosapp.jar the property file Bundle_milosapp.properties contained properties with Maven property variables like ${artifactId}. this happens also to other Bundle files. I just tested to replace all the ${artifactId} etc. variables in this files with real string values and it worked. Am i missing something? Roland Klein -- Roland Klein Tel: +49 40 65803 209 Fax: +49 40 65803 392 [EMAIL PROTECTED] MTG Marinetechnik GmbH - Wandsbeker Koenigstr. 62 - D 22041 Hamburg GF Dipl.-Ing. Ullrich Keil Handelsregister: Abt. B Nr. 11 500 - Amtsgericht Hamburg Abt. 66 USt.-IdNr.: DE 1186 70571 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-- Roland Klein Tel: +49 40 65803 209 Fax: +49 40 65803 392 [EMAIL PROTECTED] MTG Marinetechnik GmbH - Wandsbeker Koenigstr. 62 - D 22041 Hamburg GF Dipl.-Ing. Ullrich Keil Handelsregister: Abt. B Nr. 11 500 - Amtsgericht Hamburg Abt. 66 USt.-IdNr.: DE 1186 70571 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
