09 Mar, 2007
1 commit
-
saved in a config/upgrade directory that may be used as a reference when identifying changes to apply to the base configuration when performing an upgrade from one version to another. OpenDS Issue Number: 1225 git-svn-id: https://svn.forgerock.org/opendj/trunk@1361 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Mar, 2007
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1285 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Feb, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1219 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…if LDAP port' and 'cannot stop server through status panel'). The goal of these changes is to be able to have exactly the same user interface in Windows and Unix to stop the server. In windows we force the user to provide LDAP credentials even if the command is going to be run locally. The goal is to allow to stop the server using only system credentials (as we do in UNIX) when the user does not provide arguments when calling stop-ds.bat. In order to do this I have written some native code. This native code is called when we start the server to: 1. Launch the java process and get the associated PID. 2. Create a server.pid file as we do for UNIX systems to store the PID of the process. The native code that stops the server reads the PID file contents and tries to stop the process associated with the PID. In order to allow the users to be able to build the product with independence of the platform, the binaries will be included with the source code. The code used to generate these binaries will also be provided. I have generated 1 executable called winlauncher.exe. The binaries will be committed in the source tree under lib (with activation.jar and mail.jar). They will also be installed under <server root>\lib. The native code is in the files winlauncher.c and winlauncher.h. These files are placed under the new directory build-tools/src/windows. I have tried to keep the native code simple and leave as much logic as I could into the batch files (for instance everything related to the discovery of the java binaries) so that the administrators can play with them. A README file has been also been included to explain how to generate the binaries. Extras: When we call start-ds from the command line, the server will not stop when the command prompt window is closed (unless start-ds was called to run in not-detached mode). The next step is to register DS as a service to avoid the server to be stopped when the user logs out. When we call setup (with no arguments) or the statuspanel the generated process (and windows) will no longer get killed when the command prompt window is killed. When the user double-clicks on the setup.bat or the statuspanel.bat files, the command prompt window only appears briefly. Today when we do this a command prompt window stays open until we close setup or the status panel window. git-svn-id: https://svn.forgerock.org/opendj/trunk@1216 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Feb, 2007
1 commit
-
(as used in Windows batch files) as comment lines. Also, update both the CheckCopyrightDates and CheckEOLStyle configuration so that the shell scripts in the resource/bin directory get checked even though they don't contain a ".sh" extension. git-svn-id: https://svn.forgerock.org/opendj/trunk@1082 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jan, 2007
1 commit
-
addition to the Subversion repository have the "svn:eol-style" property set to "native". git-svn-id: https://svn.forgerock.org/opendj/trunk@1055 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Jan, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@1049 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
interact with the Subversion workspace. This includes three components: - A new Ant task that stores the current workspace revision number in an Ant property which gets built into DynamicConstants.java and exposed in the --fullversion and "cn=version,cn=monitor" information. - A new Ant task that checks all files that have been locally modified in the current workspace for potential cases in which a copyright date needs to be updated to include the current year. - A change to the coveragediff tool so that it uses the SVNKit library to obtain the diff rather than trying to execute the external svn/svn.exe command. git-svn-id: https://svn.forgerock.org/opendj/trunk@1047 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Jan, 2007
1 commit
-
…an uncaught exception in the tests, this gives us the stack trace and forces the tests to exit. This should make it easier to track down OutOfMemoryErrors in the future. 2. Added our own listener for the tests. This does the following * As soon as a test fails, it prints it out all of the info to the screen. Test method, error message, stacktrace, parameters * At the end of the tests, it summarizes all of the tests that failed. * It generates a new test report in text format. The html report generator was a real memory hog. 3. Changes to build.xml * Test output is suppressed by default. * The coverage report is generated even if the tests failed. * Exposed the ability to rerun only the failed tests with -Dtest.failed=true. * The 'runtests' target prints out information about additional test options. * Two small fixes so that ant doesn't recompile files that haven't changed. * Removed tabs. This was mostly in the status panel code. * Reverted the -Xmx256M temporary fix for the unit tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@1005 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Jan, 2007
2 commits
-
Floating point numbers are now formatted correctly Coverage info only shows for modified lines Anchor names are generated incrementally git-svn-id: https://svn.forgerock.org/opendj/trunk@975 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…IndexOutOfBounds exception git-svn-id: https://svn.forgerock.org/opendj/trunk@972 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jan, 2007
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@950 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
1. coveragediff is now an ant task that is run after the test*withcoverage targets. It can be disabled with -Dtest.diff.disabled= 2. coveragediff now calls svn internally. By default it looks for svn in your path. You can specify where svn is manually by using the -Dtest.diff.svnpath property. You can also specify what files are diffed by using the -Dtest.diff.srcpath property. 3. the testcustom* targets are removed and the test* should now be used. If no no -Dtest.* properties are set, it runs the default set of tests just like before. 4. coveragediff now generates an html report to build/diff/reports/. 5. coveragediff now calculates coverage for modified lines overall and by file. It also lists overall number of lines modified and deleted. 6. coveragediff can function without coverage data. It will issue an warning and just generate the report w/o any coverage info. Users can use the coveragediff ant target just to generate a graphical diff. Fix for issue 1125 git-svn-id: https://svn.forgerock.org/opendj/trunk@949 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Nov, 2006
1 commit
-
… use the tool, just pipe the unified diff output from 'svn diff' to build-tools/bin/coveragediff. Fix for issue 680 git-svn-id: https://svn.forgerock.org/opendj/trunk@767 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Nov, 2006
1 commit
-
* Add a new quicksetup.jar file that can be used for both Web Start and local installations of Open DS. * Modify the setup script so that now they will launch by default the graphical setup. If an error occurs (because for instance we do not have access to the display) or if the user specifies the --cli option then we will use the cli based setup (the one we had until today). git-svn-id: https://svn.forgerock.org/opendj/trunk@744 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Sep, 2006
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@478 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Sep, 2006
1 commit
-
…ethod levels. Please refer to the unit test documentation on the OpenDS website for more information. Fix for issue 720. git-svn-id: https://svn.forgerock.org/opendj/trunk@473 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Sep, 2006
1 commit
-
default test ant target, I have added a "slow" test group to testng. To use it, just put something like "@Test(groups = { "slow" })" before your test case method. This is implemented by a modified testng.xml file which is modified by a custom ant task called preptestng. It basically takes a group include/exclude string like "exclude=slow,include=fast" from ant and insert the correct tags into a copy of the testng.xml file. A new resource directory is now created before running tests to hold the modified testng.xml. it is located at build/unit-tests/resource. The preptestng task will copy the master testng.xml file from ext/testng/testng.xml to the new resource directory and add the appropreate group tags based on parameters from ant. This also creates a build-tools top level directory to hold this tool and any future build tools. A new ant target called "buildtools" is also added to rebuild the tools and make the build-tools.jar file in ext. The slow tests are only ran with the all, testall, or testallwithcoverage targets. git-svn-id: https://svn.forgerock.org/opendj/trunk@384 41b1ffd8-f28e-4786-ab96-9950f0a78031