This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I found a problem upgrading an existing application with a custom platform created in 6.5 to 6.7. Steps to reproduce: 1. Create a Platform application with NB 6.5 named "testplatform" (using this name is important!). 2. Open the resulting project in 6.7 and invoke the create_platform task. 3. Copy the resulting platform from the dist dir of the app (otherwise you'll run into a bug described elesewhere) 4. In 6.7 create a new Platform app (e.g. "testuseplatform" ) and go to project properties-> libraries -> add platform 5. Register a platform using the testplatform dir 6. Use this as the platform for your project. 7. try to run the project it will fail with some weird error like this: run: /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/harness/suite.xml:468: The following error occurred while executing this line: /Applications/NetBeans/NetBeans 6.7.app/Contents/Resources/NetBeans/harness/run.xml:119: /Users/antonepple/Desktop/testplatform/elster:/Users/antonepple/Desktop/testplatform not found. If you create your "testplatform" project initially using 6.7 the problem doesn't occur. The problem seems to be caused by the use of the string "platform" in the name of the application. It seems some ant task evaluates the path by looking for the string "platform" with a regular expression and spoils the path, because there's not only platform10. workaround: In project.properties rename your application: app.name=test Then it works... I didn't have time to dig too deep this time, but the path conversions around cluster.path.id and cluster.path.evaluated and the ConvertClusterPath might be worth a look.
Aaargh, darned create-platform target again, I'll delete it silently one day, I swear... :-). Thanks for catching this. core-main #591ae09ea721
Hi Richard, don't you dare deleting it - it's my source of everlasting joy ;-). Thanks for Fixing it! --Toni
Integrated into 'main-golden', will be available in build *200907290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/591ae09ea721 User: Richard Michalsky <rmichalsky@netbeans.org> Log: #169056: fixing running against custom platform named "<something>platform"