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.
Build 200709041200,JDK1.6,Vista When I open Identity samples in IDE (clean userdir,I only added SDK glassfish),it's opened with error badges (see screenshot) and I can't build any of StockQuoteService projects(also StockQuoteClient because service's not deployed). Error badges are on files StockService.java and GetQuote.java. StockQuoteService-war Output: C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService\StockQuoteService\StockQuoteService-war\build.xml:7: Cannot find nbproject/am-deploy.xml imported from C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService\StockQuoteService\StockQuoteService-war\build.xml StockQuoteService-ejb Output: C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService\StockQuoteService\StockQuoteService-ejb\build.xml:7: The following error occurred while executing this line: C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService\StockQuoteService\StockQuoteService-ejb\nbproject\build-impl.xml:19: Cannot find extendArchiveGF.xml imported from C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService\StockQuoteService\StockQuoteService-ejb\nbproject\build-impl.xml
Created attachment 48134 [details] screenshot
Looks like it is looking for the extended archive which doesn't exist. I'll fix it.
Peter, please fix the bug in trunk first (I saw e-mail to review mailing list), Jarda will verify it and then you can commit fix to beta1 branch.
Fixes checked into NB6 trunk.
Jardo, please verify the fix in the latest continual build from trunk. Thanks
Hudson trunk build #3097 (the same for build 200709070000) I'm now able to build -ejb module from StockQuoteService,but for -war web application I still get C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService3\StockQuoteService3\StockQuoteService-war\build.xml:7: Cannot find nbproject/am-deploy.xml imported from C:\Users\jp154641\Documents\NetBeansProjects\StockQuoteService3\StockQuoteService3\StockQuoteService-war\build.xml NOTICE: When I open StockQuoteService EAR, only ejb module is opened also,I have to open war by right-clicking on JavaEE modules > StockQuotService-war.war > Open Project. There's no amconfig/amserver.xml file present in the project.
The import statement for amdeploy.xml is not supposed to be there in the build.xml. It is left there by mistake. By default, the sample application does not have security enabled. I've checked in the fix into the trunk. Please test verify this in the trunk again.
Jarda, can u pls verify this and let u sknow if the changes can be merged to beta1 branch?
Verified in the fresh trunk build.
Please, merge fix in beta1 branch.
Fix merged in release60_beta1 branch.
I've checked final beta1 build(200709110000-later one) and it looks like the fix isn't there. I think it's possible,that Peter's commit came after beta1 building already started. Since there'll be no more rebuilds, I think we should at least mention this in release notes.
Clarification: The beta1 build I tested was 200709111000.
I just verified that the fix is in the beta1 branch so we did missed the final build. I'll write up a workaround and ask Bob to release note it.
Here is the content for the release note: Description - When building the Stock Server sample application, you will get an error indicating missing am-deploy.xml. Workaround - Edit the build.xml in the StockQuoteServier-war project and remove the following line: <import file="nbproject/am-deploy.xml"/>
Release note verified