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.

Bug 128448

Summary: Daily build contains wrong netbeans.conf
Product: www Reporter: Jiri Skrivanek <jskrivanek>
Component: Builds & RepositoriesAssignee: Michal Zlamal <mzlamal>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2008-02-26 15:22:17 UTC
In daily builds there is wrong etc/netbeans.conf. It contains -J-Xms128m but the correct one in Hg repository uses
-J-Xms32m. It was previously fixed in nbbuild/build.xml (see b035d7b29609), so I don't know why it doesn't work.
Comment 1 Michal Zlamal 2008-02-26 16:55:35 UTC
It seems to me that the tests are modifying it during their run, because it started to occur after I added them to the build. So I'd say that this P1 belong to 
xtest because it is updating files which it shouldn't touch.
Comment 2 Jiri Skrivanek 2008-02-27 07:22:06 UTC
I am not aware of changing netbeans.conf in XTest. Could you tell which scripts do you run to build and zip daily build?
And which tests?
Comment 3 Jiri Skrivanek 2008-02-28 07:16:30 UTC
It turned out netbeans.conf is modified by some tests. The solution is to copy nbbuild/netbeans to some temporary place
and run tests against this copy:

rm -rf /tmp/netbeans 
cp -r nbbuild/netbeans /tmp
ant -f xtest/instance/build.xml ... -Dnetbeans.dest.dir=/tmp/netbeans runtests
Comment 4 Michal Zlamal 2008-03-03 09:34:57 UTC

*** This issue has been marked as a duplicate of 128822 ***
Comment 5 Jiri Skrivanek 2008-03-10 19:45:35 UTC
Verified.