You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
(31) |
Apr
(21) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <bla...@us...> - 2008-03-18 01:20:30
|
Revision: 11 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=11&view=rev Author: blamonica Date: 2008-03-17 18:20:27 -0700 (Mon, 17 Mar 2008) Log Message: ----------- Add GPL2 License statement to all source files. Modified Paths: -------------- trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/results.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/run.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/mainMenu.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/user/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/user/manage.jsp trunk/drawbridge/src/dummy/net/sf/drawbridge/domain/DummyDatabase.java trunk/drawbridge/src/dummy/net/sf/drawbridge/domain/DummyDrawbridgeService.java trunk/drawbridge/src/java/net/sf/drawbridge/DrawbridgeRuntimeException.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/AbstractDrawbridgeController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/AdminController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/AddOrEditDatabaseController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/AddOrEditDatabaseSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/DeleteDatabaseSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/AddOrEditDriverController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/AddOrEditDriverSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/DeleteDriverSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/ManageDriversController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/AddOrEditGroupController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/AddOrEditGroupSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/DeleteGroupSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/ManageGroupsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AbstractJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AddOrEditJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AddOrEditJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/DeleteJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/RunJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/RunJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/AddOrEditRunAsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/AddOrEditRunAsSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/DeleteRunAsSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/AddOrEditUserController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/AddOrEditUserSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/DeleteUserSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/ManageUsersController.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/Dao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DatabaseDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DatabasePermissionDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DriverDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/GroupDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/JobDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/RunAsAccountDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/UserDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateDatabaseDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateGroupDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateJobDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateRunAsAccountDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateUserDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/domain/DefaultDrawbridgeService.java trunk/drawbridge/src/java/net/sf/drawbridge/domain/DrawbridgeService.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/DefaultJobExecuter.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/DefaultQueryParser.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/JobExecuter.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/QueryParser.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/DrawbridgeScheduleLoader.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/HeartBeatJob.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/QuartzDrawbridgeScheduleLoader.java trunk/drawbridge/src/java/net/sf/drawbridge/util/AESEncryptionUtil.java trunk/drawbridge/src/java/net/sf/drawbridge/util/EncryptionUtil.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Database.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Driver.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Group.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Job.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/QueryParam.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/RunAsAccount.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Status.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/StatusMessage.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/User.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/ValueObject.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/AdminControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/AddOrEditDatabaseControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/AddOrEditDatabaseSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/DeleteDatabaseSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/AddOrEditDriverControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/AddOrEditDriverSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/DeleteDriverSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/ManageDriversControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/AddOrEditGroupControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/AddOrEditGroupSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/DeleteGroupSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/ManageGroupsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/AddOrEditJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/AddOrEditJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/DeleteJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/RunJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/RunJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/AddOrEditRunAsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/AddOrEditRunAsSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/DeleteRunAsSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/AddOrEditUserControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/AddOrEditUserSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/DeleteUserSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/ManageUsersControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java trunk/drawbridge/src/test/net/sf/drawbridge/dao/RunAsAccountDaoTest.java trunk/drawbridge/src/test/net/sf/drawbridge/exec/DefaultJobExecuterTest.java trunk/drawbridge/src/test/net/sf/drawbridge/exec/DefaultQueryParserTest.java trunk/drawbridge/src/test/net/sf/drawbridge/sched/QuartzDrawbridgeScheduleLoaderTest.java trunk/drawbridge/src/test/net/sf/drawbridge/test/TestBeanFactory.java trunk/drawbridge/src/test/net/sf/drawbridge/util/AESEncryptionUtilTest.java Added Paths: ----------- trunk/drawbridge/WebContent/license.txt trunk/drawbridge/license.txt Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@page isErrorPage="true"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <br> </td> </tr> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <html> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/results.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/results.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/results.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/run.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/run.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/run.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/mainMenu.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/mainMenu.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/mainMenu.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/user/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/user/addOrEdit.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/user/addOrEdit.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/user/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/user/manage.jsp 2008-03-16 18:00:51 UTC (rev 10) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/user/manage.jsp 2008-03-18 01:20:27 UTC (rev 11) @@ -1,3 +1,20 @@ +<%-- +This file is part of DrawBridge. +Copyright 2008 Adam Cresse + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 2 as published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation,Inc.,51 Franklin Street,Fifth Floor, Boston, MA 02110-1301, USA. +--%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@taglib prefix="display" uri="http://displaytag.sf.net"%> Added: trunk/drawbridge/WebContent/license.txt =================================================================== --- trunk/drawbridge/WebContent/license.txt (rev 0) +++ trunk/drawbridge/WebContent/license.txt 2008-03-18 01:20:27 UTC (rev 11) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: trunk/drawbridge/license.txt =================================================================== --- trunk/drawbridge/license.txt (rev 0) +++ trunk/drawbridge/license.txt 2008-03-18 01:20:27 UTC (rev 11) @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program... [truncated message content] |
From: <ac...@us...> - 2008-03-16 18:00:57
|
Revision: 10 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=10&view=rev Author: acresse Date: 2008-03-16 11:00:51 -0700 (Sun, 16 Mar 2008) Log Message: ----------- remove unused maps from controllers and tests Modified Paths: -------------- trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java Modified: trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java 2008-03-16 18:00:51 UTC (rev 10) @@ -1,32 +1,16 @@ package net.sf.drawbridge.controller; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import net.sf.drawbridge.controller.AbstractDrawbridgeController; -import net.sf.drawbridge.vo.Driver; - import org.springframework.web.servlet.ModelAndView; public class MainMenuController extends AbstractDrawbridgeController { protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mav = new ModelAndView("mainMenu"); - mav.addObject("driverMap", convertToMap(drawbridgeService.listDrivers())); mav.addObject("databaseList", drawbridgeService.listDatabases()); return mav; } - private Object convertToMap(List<Driver> drivers) { - Map<Integer, Driver> map=new HashMap<Integer, Driver>(); - for (Driver driver : drivers) { - map.put(driver.getId(), driver); - } - return map; - } - } Modified: trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java 2008-03-16 18:00:51 UTC (rev 10) @@ -1,14 +1,9 @@ package net.sf.drawbridge.controller.database; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.drawbridge.controller.AbstractDrawbridgeController; -import net.sf.drawbridge.vo.Driver; import org.springframework.web.servlet.ModelAndView; @@ -16,17 +11,8 @@ protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mav = new ModelAndView("database/manage"); - mav.addObject("driverMap", convertToMap(drawbridgeService.listDrivers())); mav.addObject("databaseList", drawbridgeService.listDatabases()); return mav; } - private Object convertToMap(List<Driver> drivers) { - Map<Integer, Driver> map=new HashMap<Integer, Driver>(); - for (Driver driver : drivers) { - map.put(driver.getId(), driver); - } - return map; - } - } Modified: trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java 2008-03-16 18:00:51 UTC (rev 10) @@ -1,14 +1,8 @@ package net.sf.drawbridge.controller.job; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import net.sf.drawbridge.vo.RunAsAccount; - import org.springframework.web.servlet.ModelAndView; public class ManageJobsController extends AbstractJobController { @@ -18,16 +12,8 @@ String databaseIdStr=getValueFromRequestOrSession("databaseId", request, false); Integer databaseId = new Integer(databaseIdStr); mav.addObject("databaseId",databaseIdStr); - mav.addObject("runAsMap", convertToMap(drawbridgeService.listRunAsAccounts(databaseId))); mav.addObject("jobList", drawbridgeService.listJobs(databaseId)); return mav; } - private Object convertToMap(List<RunAsAccount> runAsAccounts) { - Map<Integer, RunAsAccount> map=new HashMap<Integer, RunAsAccount>(); - for (RunAsAccount runAs : runAsAccounts) { - map.put(runAs.getId(), runAs); - } - return map; - } } Modified: trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java 2008-03-16 18:00:51 UTC (rev 10) @@ -1,14 +1,9 @@ package net.sf.drawbridge.controller.runas; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.drawbridge.controller.AbstractDrawbridgeController; -import net.sf.drawbridge.vo.Database; import org.springframework.web.servlet.ModelAndView; @@ -17,16 +12,7 @@ protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView mav = new ModelAndView("runAs/manage"); mav.addObject("runAsList", drawbridgeService.listRunAsAccounts(null)); - mav.addObject("databaseMap", convertToMap(drawbridgeService.listDatabases())); return mav; } - private Object convertToMap(List<Database> databases) { - Map<Integer, Database> map=new HashMap<Integer, Database>(); - for (Database database : databases) { - map.put(database.getId(), database); - } - return map; - } - } Modified: trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java 2008-03-16 18:00:51 UTC (rev 10) @@ -24,7 +24,7 @@ target.setDrawbridgeService((DrawbridgeService) mockDrawbridgeService.proxy()); } - public void testShouldReturnViewWithDatabasesAndDrivers() throws Exception{ + public void testShouldReturnViewWithDatabases() throws Exception{ List<Database> databaseList=new ArrayList<Database>(); Driver driver = new Driver(1,"name","class"); databaseList.add(new Database(1,"name","url",driver)); @@ -32,18 +32,13 @@ List<Driver> driverList=new ArrayList<Driver>(); driverList.add(driver); - Map<Integer, Driver> driverMap=new HashMap<Integer, Driver>(); - driverMap.put(1,driver); - mockDrawbridgeService.expects(once()).method("listDatabases").will(returnValue(databaseList)); - mockDrawbridgeService.expects(once()).method("listDrivers").will(returnValue(driverList)); ModelAndView mav=target.handleRequestInternal(null, null); assertEquals("mainMenu",mav.getViewName()); Map<String, Object> model=new HashMap<String, Object>(); model.put("databaseList", databaseList); - model.put("driverMap", driverMap); assertEquals(model,mav.getModel()); } Modified: trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java 2008-03-16 18:00:51 UTC (rev 10) @@ -24,7 +24,7 @@ target.setDrawbridgeService((DrawbridgeService) mockDrawbridgeService.proxy()); } - public void testShouldReturnViewWithDatabasesAndDrivers() throws Exception{ + public void testShouldReturnViewWithDatabases() throws Exception{ Driver driver = new Driver(1, "name", "class"); List<Database> databaseList=new ArrayList<Database>(); databaseList.add(new Database(1,"name","url",driver)); @@ -32,18 +32,13 @@ List<Driver> driverList=new ArrayList<Driver>(); driverList.add(driver); - Map<Integer, Driver> driverMap=new HashMap<Integer, Driver>(); - driverMap.put(1,driver); - mockDrawbridgeService.expects(once()).method("listDatabases").will(returnValue(databaseList)); - mockDrawbridgeService.expects(once()).method("listDrivers").will(returnValue(driverList)); ModelAndView mav=target.handleRequestInternal(null, null); assertEquals("database/manage",mav.getViewName()); Map<String,Object> model=new HashMap<String,Object>(); model.put("databaseList", databaseList); - model.put("driverMap", driverMap); assertEquals(model,mav.getModel()); } Modified: trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java 2008-03-16 18:00:51 UTC (rev 10) @@ -35,11 +35,7 @@ List<RunAsAccount> runAsList=new ArrayList<RunAsAccount>(); runAsList.add(runAsAccount); - Map<Integer, RunAsAccount> runAsMap=new HashMap<Integer, RunAsAccount>(); - runAsMap.put(1,runAsAccount); - mockDrawbridgeService.expects(once()).method("listJobs").will(returnValue(jobList)); - mockDrawbridgeService.expects(once()).method("listRunAsAccounts").will(returnValue(runAsList)); MockHttpServletRequest mockRequest=new MockHttpServletRequest(); mockRequest.setParameter("databaseId", "1"); @@ -50,7 +46,6 @@ Map<String,Object> model=new HashMap<String,Object>(); model.put("databaseId", "1"); model.put("jobList", jobList); - model.put("runAsMap", runAsMap); assertEquals(model,mav.getModel()); } Modified: trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java 2008-03-16 17:05:12 UTC (rev 9) +++ trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java 2008-03-16 18:00:51 UTC (rev 10) @@ -25,7 +25,7 @@ target.setDrawbridgeService((DrawbridgeService) mockDrawbridgeService.proxy()); } - public void testShouldReturnViewWithRunAsAndDatabases() throws Exception{ + public void testShouldReturnViewWithRunAsAccounts() throws Exception{ List<RunAsAccount> runAsList=new ArrayList<RunAsAccount>(); Database db = new Database(1,"name","jdbcUrl", new Driver(1,"name","class")); runAsList.add(new RunAsAccount(1,"userName","password",db)); @@ -33,18 +33,13 @@ List<Database> databaseList=new ArrayList<Database>(); databaseList.add(db); - Map<Integer, Database> databaseMap=new HashMap<Integer, Database>(); - databaseMap.put(1,db); - mockDrawbridgeService.expects(once()).method("listRunAsAccounts").will(returnValue(runAsList)); - mockDrawbridgeService.expects(once()).method("listDatabases").will(returnValue(databaseList)); ModelAndView mav=target.handleRequestInternal(null, null); assertEquals("runAs/manage",mav.getViewName()); Map<String,Object> model=new HashMap<String,Object>(); model.put("runAsList", runAsList); - model.put("databaseMap", databaseMap); assertEquals(model,mav.getModel()); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ac...@us...> - 2008-03-16 17:05:45
|
Revision: 9 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=9&view=rev Author: acresse Date: 2008-03-16 10:05:12 -0700 (Sun, 16 Mar 2008) Log Message: ----------- fix the jsps broken by new daos Modified Paths: -------------- trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -22,7 +22,7 @@ <select name="driverId"> <c:forEach items="${driverList}" var="driver"> <c:set var="selected" value="${NULL}"/> - <c:if test="${driver.id eq database.driverId}"> + <c:if test="${driver.id eq database.driver.id}"> <c:set var="selected" value="SELECTED"/> </c:if> <option value="<c:out value="${driver.id}"/>" <c:out value="${selected}"/>><c:out value="${driver.name}"/></option> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -9,7 +9,7 @@ <display:table name="databaseList" id="row" requestURI="ManageDatabases.do" class="displaytable"> <display:column property="name" title="Database Name" sortable="true"/> <display:column property="jdbcUrl" title="Jdbc Url" sortable="true"/> - <display:column title="Driver" sortable="true"><c:out value="${driverMap[row.driverId].name}"/></display:column> + <display:column title="Driver" sortable="true"><c:out value="${row.driver.name}"/></display:column> <display:column title="Action" style="text-align: center;"> <a href="EditDatabase.do?databaseId=<c:out value="${row.id}"/>"><img src="images/icons/22x22/accessories-text-editor.png" title="Edit" border="0"></a> <a href="DeleteDatabaseSubmit.do?databaseId=<c:out value="${row.id}"/>" onClick="return confirmDelete('database','<c:out value="${row.name}"/>')"><img src="images/icons/22x22/user-trash-full.png" title="Delete" border="0"></a> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -19,7 +19,7 @@ <select name="runAsId"> <c:forEach items="${runAsList}" var="runAs"> <c:set var="selected" value="${NULL}"/> - <c:if test="${runAs.id eq job.runAsId}"> + <c:if test="${runAs eq job.runAsAccount}"> <c:set var="selected" value="SELECTED"/> </c:if> <option value="<c:out value="${runAs.id}"/>" <c:out value="${selected}"/>><c:out value="${runAs.userName}"/></option> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -9,7 +9,7 @@ <display:table name="jobList" id="row" requestURI="ManageJobs.do" class="displaytable"> <display:column property="id" title="Id" sortable="true"/> <display:column property="name" title="Name" sortable="true"/> - <display:column title="Run As" sortable="true"><c:out value="${runAsMap[row.runAsId].userName}"/></display:column> + <display:column title="Run As" sortable="true"><c:out value="${row.runAsAccount.userName}"/></display:column> <display:column property="active" title="Active" sortable="true"/> <display:column title="Schedule" sortable="true"><c:out value="${row.schedule}" default="none"/></display:column> <display:column title="Action" style="text-align: center;"> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -22,7 +22,7 @@ <select name="databaseId"> <c:forEach items="${databaseList}" var="database"> <c:set var="selected" value="${NULL}"/> - <c:if test="${database.id eq runAs.databaseId}"> + <c:if test="${database eq runAs.database}"> <c:set var="selected" value="SELECTED"/> </c:if> <option value="<c:out value="${database.id}"/>" <c:out value="${selected}"/>><c:out value="${database.name}"/></option> Modified: trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp 2008-03-16 03:16:27 UTC (rev 8) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp 2008-03-16 17:05:12 UTC (rev 9) @@ -8,7 +8,7 @@ <br> <display:table name="runAsList" id="row" requestURI="ManageRunAsAccounts.do" class="displaytable"> <display:column property="userName" title="User Name" sortable="true"/> - <display:column title="Database" sortable="true"><c:out value="${databaseMap[row.databaseId].name}"/></display:column> + <display:column title="Database" sortable="true"><c:out value="${row.database.name}"/></display:column> <display:column title="Action" style="text-align: center;"> <a href="EditRunAsAccount.do?runAsId=<c:out value="${row.id}"/>"><img src="images/icons/22x22/accessories-text-editor.png" title="Edit" border="0"></a> <a href="DeleteRunAsAccountSubmit.do?runAsId=<c:out value="${row.id}"/>" onClick="return confirmDelete('run-as account','<c:out value="${row.userName}"/>')"><img src="images/icons/22x22/user-trash-full.png" title="Delete" border="0"></a> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bla...@us...> - 2008-03-16 03:16:29
|
Revision: 8 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=8&view=rev Author: blamonica Date: 2008-03-15 20:16:27 -0700 (Sat, 15 Mar 2008) Log Message: ----------- Ignore runtime artifacts from HSQLDB. Property Changed: ---------------- trunk/drawbridge/src/test/ Property changes on: trunk/drawbridge/src/test ___________________________________________________________________ Name: svn:ignore + db.tmp db.properties This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bla...@us...> - 2008-03-16 03:14:55
|
Revision: 7 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=7&view=rev Author: blamonica Date: 2008-03-15 20:14:54 -0700 (Sat, 15 Mar 2008) Log Message: ----------- Completed unit test for the DatabaseDao. Completed unit test for the RunAsAccountDao. Removed db.properties and db.tmp artifacts from running an HSQLDB database (will add to svn:ignore with next commit) Modified Paths: -------------- trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java Added Paths: ----------- trunk/drawbridge/src/test/net/sf/drawbridge/dao/RunAsAccountDaoTest.java trunk/drawbridge/src/test/net/sf/drawbridge/test/ trunk/drawbridge/src/test/net/sf/drawbridge/test/TestBeanFactory.java Removed Paths: ------------- trunk/drawbridge/src/test/db.properties trunk/drawbridge/src/test/db.tmp/ Modified: trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml 2008-03-15 02:43:02 UTC (rev 6) +++ trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml 2008-03-16 03:14:54 UTC (rev 7) @@ -27,7 +27,12 @@ <property name="dataSource" ref="dataSource"/> </bean> - <bean id="DatabaseDao" class="net.sf.drawbridge.dao.hibernate.HibernateDatabaseDaoImpl"> + <bean id="AbstractDao" abstract="true"> <property name="sessionFactory" ref="SessionFactory"/> </bean> + + <bean id="DatabaseDao" parent="AbstractDao" class="net.sf.drawbridge.dao.hibernate.HibernateDatabaseDaoImpl"/> + + <bean id="RunAsAccountDao" parent="AbstractDao" class="net.sf.drawbridge.dao.hibernate.HibernateRunAsAccountDaoImpl"/> + </beans> Modified: trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java 2008-03-15 02:43:02 UTC (rev 6) +++ trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java 2008-03-16 03:14:54 UTC (rev 7) @@ -36,7 +36,7 @@ public void update(T vo) { if (vo != null) { - getHibernateTemplate().save(vo); + getHibernateTemplate().update(vo); } } Deleted: trunk/drawbridge/src/test/db.properties =================================================================== --- trunk/drawbridge/src/test/db.properties 2008-03-15 02:43:02 UTC (rev 6) +++ trunk/drawbridge/src/test/db.properties 2008-03-16 03:14:54 UTC (rev 7) @@ -1,17 +0,0 @@ -#HSQL Database Engine 1.9.0.0 -#Thu Mar 13 21:44:50 CDT 2008 -hsqldb.script_format=0 -runtime.gc_interval=0 -sql.enforce_strict_size=false -hsqldb.cache_size_scale=8 -readonly=false -hsqldb.nio_data_file=true -hsqldb.cache_scale=15 -version=1.9.0 -hsqldb.default_table_type=memory -hsqldb.cache_file_scale=1 -hsqldb.log_size=200 -modified=yes -hsqldb.cache_version=1.7.0 -hsqldb.original_version=1.9.0 -hsqldb.compatible_version=1.9.0 Modified: trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java 2008-03-15 02:43:02 UTC (rev 6) +++ trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java 2008-03-16 03:14:54 UTC (rev 7) @@ -1,40 +1,26 @@ package net.sf.drawbridge.dao; -import javax.transaction.Transaction; +import java.util.List; import junit.framework.TestCase; -import net.sf.drawbridge.dao.DatabaseDao; +import net.sf.drawbridge.test.TestBeanFactory; import net.sf.drawbridge.vo.Database; -import org.springframework.beans.factory.BeanFactory; -import org.springframework.context.support.ClassPathXmlApplicationContext; -import org.springframework.jdbc.datasource.DataSourceTransactionManager; -import org.springframework.transaction.TransactionDefinition; import org.springframework.transaction.TransactionStatus; import org.springframework.transaction.support.AbstractPlatformTransactionManager; import org.springframework.transaction.support.DefaultTransactionDefinition; public class DatabaseDaoTest extends TestCase { - private static BeanFactory factory = new ClassPathXmlApplicationContext("drawbridge-test-spring.xml"); - private DatabaseDao target; private AbstractPlatformTransactionManager txManager; - private TransactionStatus tx = null; - protected void setUp() { - txManager = (AbstractPlatformTransactionManager) factory.getBean("TxManager"); - target = (DatabaseDao) factory.getBean("DatabaseDao"); + txManager = (AbstractPlatformTransactionManager) TestBeanFactory.getBean("TxManager"); + target = (DatabaseDao) TestBeanFactory.getBean("DatabaseDao"); } - protected void tearDown() { - if (tx != null) { - txManager.rollback(tx); - } - } - public void testShouldGetDatabaseObject() throws Exception { Database result = target.get(0); assertNotNull("result is null", result); @@ -56,4 +42,46 @@ txManager.rollback(tx); } } + + public void testShouldSaveChangesToDatabaseObject() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + Database existing = target.get(0); + existing.setName("a different name"); + target.update(existing); + + Database result = target.get(0); + assertEquals("a different name", result.getName()); + } finally { + txManager.rollback(tx); + } + } + + public void testShouldDeleteObjectFromDatabase() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + Database existing = target.get(0); + assertNotNull(existing); + target.delete(existing); + + assertNull("should be deleted", target.get(0)); + } finally { + txManager.rollback(tx); + } + } + + public void testShouldRetrieveAllObjectsFromDatabase() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + Database existing = target.get(0); + Database db = new Database(null, "temporary db", "jdbc:temp", existing.getDriver()); + target.create(db); + + List<Database> all = target.getAll(); + assertEquals(2, all.size()); + } finally { + txManager.rollback(tx); + } + + } } Added: trunk/drawbridge/src/test/net/sf/drawbridge/dao/RunAsAccountDaoTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/dao/RunAsAccountDaoTest.java (rev 0) +++ trunk/drawbridge/src/test/net/sf/drawbridge/dao/RunAsAccountDaoTest.java 2008-03-16 03:14:54 UTC (rev 7) @@ -0,0 +1,86 @@ +package net.sf.drawbridge.dao; + +import java.util.List; + +import junit.framework.TestCase; +import net.sf.drawbridge.test.TestBeanFactory; +import net.sf.drawbridge.vo.RunAsAccount; + +import org.springframework.transaction.TransactionStatus; +import org.springframework.transaction.support.AbstractPlatformTransactionManager; +import org.springframework.transaction.support.DefaultTransactionDefinition; + +public class RunAsAccountDaoTest extends TestCase { + + private RunAsAccountDao target; + + private AbstractPlatformTransactionManager txManager; + + protected void setUp() { + txManager = (AbstractPlatformTransactionManager) TestBeanFactory.getBean("TxManager"); + target = (RunAsAccountDao) TestBeanFactory.getBean("RunAsAccountDao"); + } + + public void testShouldGetRunAsAccountObject() throws Exception { + RunAsAccount result = target.get(0); + assertNotNull("result is null", result); + assertEquals("id", new Integer(0), result.getId()); + assertEquals("username", "sa", result.getUserName()); + assertEquals("password", "base64", result.getPassword()); + assertNotNull("database", result.getDatabase()); + } + + public void testShouldCreateNewRunAsAccountObject() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + RunAsAccount existing = target.get(0); + RunAsAccount db = new RunAsAccount(null, "temp_user", "temp_password", existing.getDatabase()); + target.create(db); + assertNotNull("id is still null", db.getId()); + } finally { + txManager.rollback(tx); + } + } + + public void testShouldSaveChangesToRunAsAccountObject() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + RunAsAccount existing = target.get(0); + existing.setUserName("a different username"); + target.update(existing); + + RunAsAccount result = target.get(0); + assertEquals("a different username", result.getUserName()); + } finally { + txManager.rollback(tx); + } + } + + public void testShouldDeleteObjectFromRunAsAccount() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + RunAsAccount existing = target.get(0); + assertNotNull(existing); + target.delete(existing); + + assertNull("should be deleted", target.get(0)); + } finally { + txManager.rollback(tx); + } + } + + public void testShouldRetrieveAllObjectsFromRunAsAccount() throws Exception { + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + RunAsAccount existing = target.get(0); + RunAsAccount db = new RunAsAccount(null, "temp_user", "temp_password", existing.getDatabase()); + target.create(db); + + List<RunAsAccount> all = target.getAll(); + assertEquals(2, all.size()); + } finally { + txManager.rollback(tx); + } + + } +} Added: trunk/drawbridge/src/test/net/sf/drawbridge/test/TestBeanFactory.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/test/TestBeanFactory.java (rev 0) +++ trunk/drawbridge/src/test/net/sf/drawbridge/test/TestBeanFactory.java 2008-03-16 03:14:54 UTC (rev 7) @@ -0,0 +1,13 @@ +package net.sf.drawbridge.test; + +import org.springframework.beans.factory.BeanFactory; +import org.springframework.context.support.ClassPathXmlApplicationContext; + +public class TestBeanFactory { + + private static BeanFactory factory = new ClassPathXmlApplicationContext("drawbridge-test-spring.xml"); + + public static Object getBean(String beanName) { + return factory.getBean(beanName); + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bla...@us...> - 2008-03-15 02:43:05
|
Revision: 6 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=6&view=rev Author: blamonica Date: 2008-03-14 19:43:02 -0700 (Fri, 14 Mar 2008) Log Message: ----------- Update dao tests to use the proper transaction manager. Modified Paths: -------------- trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java Removed Paths: ------------- trunk/drawbridge/src/test/net/sf/decibel/ Property Changed: ---------------- trunk/drawbridge/WebContent/WEB-INF/ trunk/drawbridge/WebContent/WEB-INF/lib/ Property changes on: trunk/drawbridge/WebContent/WEB-INF ___________________________________________________________________ Name: svn:ignore - lib/asm-attrs.jar + lib Property changes on: trunk/drawbridge/WebContent/WEB-INF/lib ___________________________________________________________________ Name: svn:ignore + *.jar Modified: trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml =================================================================== --- trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml 2008-03-14 03:22:27 UTC (rev 5) +++ trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml 2008-03-15 02:43:02 UTC (rev 6) @@ -22,7 +22,8 @@ <property name="dataSource" ref="dataSource"/> </bean> - <bean id="TxManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> + <bean id="TxManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"> + <property name="sessionFactory" ref="SessionFactory"/> <property name="dataSource" ref="dataSource"/> </bean> Modified: trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java =================================================================== --- trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java 2008-03-14 03:22:27 UTC (rev 5) +++ trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java 2008-03-15 02:43:02 UTC (rev 6) @@ -26,7 +26,6 @@ protected void setUp() { txManager = (AbstractPlatformTransactionManager) factory.getBean("TxManager"); - TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); target = (DatabaseDao) factory.getBean("DatabaseDao"); } @@ -37,19 +36,24 @@ } public void testShouldGetDatabaseObject() throws Exception { - Database result = target.get(0); - assertNotNull("result is null", result); - assertEquals("id", new Integer(0), result.getId()); - assertEquals("name", "HSQLDB In-Memory Database", result.getName()); - assertEquals("jdbcUrl", "jdbc:hsqldb:mem:.", result.getJdbcUrl()); - assertNotNull("driver", result.getDriver()); - assertEquals("accounts", 1, result.getAccounts().size()); + Database result = target.get(0); + assertNotNull("result is null", result); + assertEquals("id", new Integer(0), result.getId()); + assertEquals("name", "HSQLDB In-Memory Database", result.getName()); + assertEquals("jdbcUrl", "jdbc:hsqldb:mem:.", result.getJdbcUrl()); + assertNotNull("driver", result.getDriver()); + assertEquals("accounts", 1, result.getAccounts().size()); } public void testShouldCreateNewDatabaseObject() throws Exception { - Database existing = target.get(0); - Database db = new Database(null, "temporary db", "jdbc:temp", existing.getDriver()); - target.create(db); - assertNotNull("id is still null", db.getId()); + TransactionStatus tx = txManager.getTransaction(new DefaultTransactionDefinition()); + try { + Database existing = target.get(0); + Database db = new Database(null, "temporary db", "jdbc:temp", existing.getDriver()); + target.create(db); + assertNotNull("id is still null", db.getId()); + } finally { + txManager.rollback(tx); + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bla...@us...> - 2008-03-14 03:22:31
|
Revision: 5 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=5&view=rev Author: blamonica Date: 2008-03-13 20:22:27 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Another attempt at ignoring the entire lib directory. Property Changed: ---------------- trunk/drawbridge/WebContent/WEB-INF/ Property changes on: trunk/drawbridge/WebContent/WEB-INF ___________________________________________________________________ Name: svn:ignore - lib + lib/asm-attrs.jar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bla...@us...> - 2008-03-14 03:12:46
|
Revision: 4 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=4&view=rev Author: blamonica Date: 2008-03-13 20:12:42 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Ignore the lib directory, will provide an ant task to download necessary libraries. Property Changed: ---------------- trunk/drawbridge/WebContent/WEB-INF/ Property changes on: trunk/drawbridge/WebContent/WEB-INF ___________________________________________________________________ Name: svn:ignore + lib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ac...@us...> - 2008-03-14 03:04:41
|
Revision: 3 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=3&view=rev Author: acresse Date: 2008-03-13 20:04:39 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Initial import. Added Paths: ----------- trunk/drawbridge/.classpath trunk/drawbridge/.project trunk/drawbridge/.settings/ trunk/drawbridge/.settings/org.eclipse.jdt.core.prefs trunk/drawbridge/.settings/org.eclipse.jst.common.project.facet.core.prefs trunk/drawbridge/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs trunk/drawbridge/.settings/org.eclipse.wst.common.component trunk/drawbridge/.settings/org.eclipse.wst.common.project.facet.core.xml trunk/drawbridge/.settings/org.springframework.ide.eclipse.core.prefs trunk/drawbridge/.springBeans trunk/drawbridge/WebContent/ trunk/drawbridge/WebContent/META-INF/ trunk/drawbridge/WebContent/META-INF/MANIFEST.MF trunk/drawbridge/WebContent/META-INF/context.xml trunk/drawbridge/WebContent/MainMenu.do trunk/drawbridge/WebContent/WEB-INF/ trunk/drawbridge/WebContent/WEB-INF/classes/ trunk/drawbridge/WebContent/WEB-INF/classes/drawbridge.properties trunk/drawbridge/WebContent/WEB-INF/drawbridge-servlet.xml trunk/drawbridge/WebContent/WEB-INF/jsp/ trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/database/ trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/driver/ trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/group/ trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/ trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/results.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/job/run.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/mainMenu.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/ trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/runAs/manage.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/user/ trunk/drawbridge/WebContent/WEB-INF/jsp/user/addOrEdit.jsp trunk/drawbridge/WebContent/WEB-INF/jsp/user/manage.jsp trunk/drawbridge/WebContent/WEB-INF/lib/ trunk/drawbridge/WebContent/WEB-INF/tld/ trunk/drawbridge/WebContent/WEB-INF/tld/c.tld trunk/drawbridge/WebContent/WEB-INF/tld/displaytag.tld trunk/drawbridge/WebContent/WEB-INF/tld/fmt.tld trunk/drawbridge/WebContent/WEB-INF/tld/fn.tld trunk/drawbridge/WebContent/WEB-INF/web.xml trunk/drawbridge/WebContent/css/ trunk/drawbridge/WebContent/css/displaytag.css trunk/drawbridge/WebContent/css/drawbridge.css trunk/drawbridge/WebContent/images/ trunk/drawbridge/WebContent/images/drawbridge.png trunk/drawbridge/WebContent/images/icons/ trunk/drawbridge/WebContent/images/icons/16x16/ trunk/drawbridge/WebContent/images/icons/16x16/accessories-text-editor.png trunk/drawbridge/WebContent/images/icons/16x16/go-home.png trunk/drawbridge/WebContent/images/icons/16x16/preferences-system.png trunk/drawbridge/WebContent/images/icons/16x16/system-users.png trunk/drawbridge/WebContent/images/icons/16x16/user-trash-full.png trunk/drawbridge/WebContent/images/icons/22x22/ trunk/drawbridge/WebContent/images/icons/22x22/accessories-text-editor.png trunk/drawbridge/WebContent/images/icons/22x22/emblem-system.png trunk/drawbridge/WebContent/images/icons/22x22/preferences-system.png trunk/drawbridge/WebContent/images/icons/22x22/user-trash-full.png trunk/drawbridge/WebContent/images/icons/32x32/ trunk/drawbridge/WebContent/images/icons/32x32/emblem-readonly.png trunk/drawbridge/WebContent/images/icons/32x32/emblem-system.png trunk/drawbridge/WebContent/images/icons/32x32/system-users.png trunk/drawbridge/WebContent/images/icons/arrow_down.png trunk/drawbridge/WebContent/images/icons/arrow_off.png trunk/drawbridge/WebContent/images/icons/arrow_up.png trunk/drawbridge/WebContent/images/icons/ico_file_csv.png trunk/drawbridge/WebContent/images/icons/ico_file_excel.png trunk/drawbridge/WebContent/images/icons/ico_file_pdf.png trunk/drawbridge/WebContent/images/icons/ico_file_rtf.png trunk/drawbridge/WebContent/images/icons/ico_file_xml.png trunk/drawbridge/WebContent/images/icons/icon_error_sml.gif trunk/drawbridge/WebContent/images/icons/icon_info_sml.gif trunk/drawbridge/WebContent/images/icons/icon_success_sml.gif trunk/drawbridge/WebContent/images/icons/icon_warning_sml.gif trunk/drawbridge/WebContent/js/ trunk/drawbridge/WebContent/js/drawbridge.js trunk/drawbridge/WebContent/js/multiple_select.js trunk/drawbridge/build/ trunk/drawbridge/build/classes/ trunk/drawbridge/build.xml trunk/drawbridge/documentation/ trunk/drawbridge/documentation/drawbridge_stories.txt trunk/drawbridge/documentation/known_bugs.txt trunk/drawbridge/documentation/todo.txt trunk/drawbridge/src/ trunk/drawbridge/src/dummy/ trunk/drawbridge/src/dummy/net/ trunk/drawbridge/src/dummy/net/sf/ trunk/drawbridge/src/dummy/net/sf/drawbridge/ trunk/drawbridge/src/dummy/net/sf/drawbridge/domain/ trunk/drawbridge/src/dummy/net/sf/drawbridge/domain/DummyDatabase.java trunk/drawbridge/src/dummy/net/sf/drawbridge/domain/DummyDrawbridgeService.java trunk/drawbridge/src/java/ trunk/drawbridge/src/java/drawbridge-core-spring.xml trunk/drawbridge/src/java/drawbridge-env-spring.xml trunk/drawbridge/src/java/net/ trunk/drawbridge/src/java/net/sf/ trunk/drawbridge/src/java/net/sf/drawbridge/ trunk/drawbridge/src/java/net/sf/drawbridge/DrawbridgeRuntimeException.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/AbstractDrawbridgeController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/AdminController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/MainMenuController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/AddOrEditDatabaseController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/AddOrEditDatabaseSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/DeleteDatabaseSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/database/ManageDatabasesController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/AddOrEditDriverController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/AddOrEditDriverSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/DeleteDriverSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/driver/ManageDriversController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/AddOrEditGroupController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/AddOrEditGroupSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/DeleteGroupSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/group/ManageGroupsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AbstractJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AddOrEditJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/AddOrEditJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/DeleteJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/ManageJobsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/RunJobController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/job/RunJobSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/AddOrEditRunAsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/AddOrEditRunAsSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/DeleteRunAsSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/runas/ManageRunAsController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/ trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/AddOrEditUserController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/AddOrEditUserSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/DeleteUserSubmitController.java trunk/drawbridge/src/java/net/sf/drawbridge/controller/user/ManageUsersController.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/ trunk/drawbridge/src/java/net/sf/drawbridge/dao/Dao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DatabaseDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DatabasePermissionDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/DriverDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/GroupDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/JobDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/RunAsAccountDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/UserDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/ trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/AbstractHibernateDao.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateDatabaseDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateGroupDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateJobDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateRunAsAccountDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/HibernateUserDaoImpl.java trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/ trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/Database.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/Driver.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/Group.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/Job.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/RunAsAccount.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/dao/hibernate/hbm/User.hbm.xml trunk/drawbridge/src/java/net/sf/drawbridge/domain/ trunk/drawbridge/src/java/net/sf/drawbridge/domain/DefaultDrawbridgeService.java trunk/drawbridge/src/java/net/sf/drawbridge/domain/DrawbridgeService.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/ trunk/drawbridge/src/java/net/sf/drawbridge/exec/DefaultJobExecuter.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/DefaultQueryParser.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/JobExecuter.java trunk/drawbridge/src/java/net/sf/drawbridge/exec/QueryParser.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/ trunk/drawbridge/src/java/net/sf/drawbridge/sched/DrawbridgeScheduleLoader.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/HeartBeatJob.java trunk/drawbridge/src/java/net/sf/drawbridge/sched/QuartzDrawbridgeScheduleLoader.java trunk/drawbridge/src/java/net/sf/drawbridge/util/ trunk/drawbridge/src/java/net/sf/drawbridge/util/AESEncryptionUtil.java trunk/drawbridge/src/java/net/sf/drawbridge/util/EncryptionUtil.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/ trunk/drawbridge/src/java/net/sf/drawbridge/vo/Database.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Driver.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Group.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Job.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/QueryParam.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/RunAsAccount.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/Status.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/StatusMessage.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/User.java trunk/drawbridge/src/java/net/sf/drawbridge/vo/ValueObject.java trunk/drawbridge/src/sql/ trunk/drawbridge/src/sql/create_drawbridge_schema.sql trunk/drawbridge/src/test/ trunk/drawbridge/src/test/db.properties trunk/drawbridge/src/test/db.script trunk/drawbridge/src/test/db.tmp/ trunk/drawbridge/src/test/drawbridge-test-spring.xml trunk/drawbridge/src/test/drawbridge.properties trunk/drawbridge/src/test/net/ trunk/drawbridge/src/test/net/sf/ trunk/drawbridge/src/test/net/sf/decibel/ trunk/drawbridge/src/test/net/sf/drawbridge/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/AdminControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/MainMenuControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/AddOrEditDatabaseControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/AddOrEditDatabaseSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/DeleteDatabaseSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/database/ManageDatabasesControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/AddOrEditDriverControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/AddOrEditDriverSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/DeleteDriverSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/driver/ManageDriversControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/AddOrEditGroupControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/AddOrEditGroupSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/DeleteGroupSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/group/ManageGroupsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/helper/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/AddOrEditJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/AddOrEditJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/DeleteJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/ManagesJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/RunJobControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/job/RunJobSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/AddOrEditRunAsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/AddOrEditRunAsSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/DeleteRunAsSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/runas/ManageRunAsControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/ trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/AddOrEditUserControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/AddOrEditUserSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/DeleteUserSubmitControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/controller/user/ManageUsersControllerTest.java trunk/drawbridge/src/test/net/sf/drawbridge/dao/ trunk/drawbridge/src/test/net/sf/drawbridge/dao/DatabaseDaoTest.java trunk/drawbridge/src/test/net/sf/drawbridge/exec/ trunk/drawbridge/src/test/net/sf/drawbridge/exec/DefaultJobExecuterTest.java trunk/drawbridge/src/test/net/sf/drawbridge/exec/DefaultQueryParserTest.java trunk/drawbridge/src/test/net/sf/drawbridge/sched/ trunk/drawbridge/src/test/net/sf/drawbridge/sched/QuartzDrawbridgeScheduleLoaderTest.java trunk/drawbridge/src/test/net/sf/drawbridge/util/ trunk/drawbridge/src/test/net/sf/drawbridge/util/AESEncryptionUtilTest.java trunk/drawbridge/src/unused/ trunk/drawbridge/src/unused/drawbridge.psd trunk/drawbridge/src/unused/logo.psd Added: trunk/drawbridge/.classpath =================================================================== --- trunk/drawbridge/.classpath (rev 0) +++ trunk/drawbridge/.classpath 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src/java"/> + <classpathentry kind="src" path="src/test"/> + <classpathentry kind="src" path="src/dummy"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v6.0"/> + <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> + <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> + <classpathentry kind="output" path="build/classes"/> +</classpath> Added: trunk/drawbridge/.project =================================================================== --- trunk/drawbridge/.project (rev 0) +++ trunk/drawbridge/.project 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>drawbridge</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.wst.common.project.facet.core.builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.wst.validation.validationbuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.springframework.ide.eclipse.core.springbuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.springframework.ide.eclipse.core.springnature</nature> + <nature>org.eclipse.wst.common.project.facet.core.nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> + <nature>org.eclipse.jem.workbench.JavaEMFNature</nature> + </natures> +</projectDescription> Added: trunk/drawbridge/.settings/org.eclipse.jdt.core.prefs =================================================================== --- trunk/drawbridge/.settings/org.eclipse.jdt.core.prefs (rev 0) +++ trunk/drawbridge/.settings/org.eclipse.jdt.core.prefs 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,7 @@ +#Fri Jan 18 18:19:08 CST 2008 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 Added: trunk/drawbridge/.settings/org.eclipse.jst.common.project.facet.core.prefs =================================================================== --- trunk/drawbridge/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0) +++ trunk/drawbridge/.settings/org.eclipse.jst.common.project.facet.core.prefs 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,4 @@ +#Fri Jan 18 18:19:09 CST 2008 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER/owners=jst.java\:5.0 +classpath.helper/org.eclipse.jst.server.core.container\:\:org.eclipse.jst.server.tomcat.runtimeTarget\:\:Apache\ Tomcat\ v6.0/owners=jst.web\:2.5 +eclipse.preferences.version=1 Added: trunk/drawbridge/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs =================================================================== --- trunk/drawbridge/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs (rev 0) +++ trunk/drawbridge/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,6 @@ +#Thu Mar 13 21:59:20 CDT 2008 +XDOCLETBUILDERACTIVE=true +XDOCLETHOME= +XDOCLETUSEGLOBAL=true +XDOCLETVERSION=1.2.1 +eclipse.preferences.version=1 Added: trunk/drawbridge/.settings/org.eclipse.wst.common.component =================================================================== --- trunk/drawbridge/.settings/org.eclipse.wst.common.component (rev 0) +++ trunk/drawbridge/.settings/org.eclipse.wst.common.component 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project-modules id="moduleCoreId" project-version="1.5.0"> +<wb-module deploy-name="drawbridge"> +<wb-resource deploy-path="/" source-path="/WebContent"/> +<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/java"/> +<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/test"/> +<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/dummy"/> +<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/xsd"/> +<property name="java-output-path" value="build/classes"/> +<property name="context-root" value="drawbridge"/> +</wb-module> +</project-modules> Added: trunk/drawbridge/.settings/org.eclipse.wst.common.project.facet.core.xml =================================================================== --- trunk/drawbridge/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0) +++ trunk/drawbridge/.settings/org.eclipse.wst.common.project.facet.core.xml 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<faceted-project> + <runtime name="Apache Tomcat v6.0"/> + <fixed facet="jst.web"/> + <fixed facet="jst.java"/> + <installed facet="jst.java" version="5.0"/> + <installed facet="jst.web" version="2.5"/> +</faceted-project> Added: trunk/drawbridge/.settings/org.springframework.ide.eclipse.core.prefs =================================================================== --- trunk/drawbridge/.settings/org.springframework.ide.eclipse.core.prefs (rev 0) +++ trunk/drawbridge/.settings/org.springframework.ide.eclipse.core.prefs 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,38 @@ +#Tue Mar 11 20:22:15 CDT 2008 +eclipse.preferences.version=1 +org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true +org.springframework.ide.eclipse.core.enable.project.preferences=false +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=true +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true Added: trunk/drawbridge/.springBeans =================================================================== --- trunk/drawbridge/.springBeans (rev 0) +++ trunk/drawbridge/.springBeans 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beansProjectDescription> + <version>1</version> + <pluginVersion><![CDATA[2.0.3.v200802061800]]></pluginVersion> + <configSuffixes> + <configSuffix><![CDATA[xml]]></configSuffix> + </configSuffixes> + <enableImports><![CDATA[true]]></enableImports> + <configs> + <config>src/java/drawbridge-core-spring.xml</config> + <config>src/java/drawbridge-env-spring.xml</config> + <config>src/java/net/sf/drawbridge/dao/drawbridge-dao-spring.xml</config> + <config>src/test/drawbridge-test-spring.xml</config> + <config>WebContent/WEB-INF/drawbridge-servlet.xml</config> + </configs> + <configSets> + </configSets> +</beansProjectDescription> Added: trunk/drawbridge/WebContent/META-INF/MANIFEST.MF =================================================================== --- trunk/drawbridge/WebContent/META-INF/MANIFEST.MF (rev 0) +++ trunk/drawbridge/WebContent/META-INF/MANIFEST.MF 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + Added: trunk/drawbridge/WebContent/META-INF/context.xml =================================================================== --- trunk/drawbridge/WebContent/META-INF/context.xml (rev 0) +++ trunk/drawbridge/WebContent/META-INF/context.xml 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,9 @@ +<Context docBase="drawbridge" path="/drawbridge" reloadable="true" source="org.eclipse.jst.jee.server:drawbridge"> + + <Resource name="jdbc/DrawbridgeDataSource" auth="Container" type="javax.sql.DataSource" + maxActive="100" maxIdle="30" maxWait="10000" + username="drawbridge_user" password="drawbridge" driverClassName="com.mysql.jdbc.Driver" + url="jdbc:mysql://localhost:3306/drawbridge"/> + +</Context> + Added: trunk/drawbridge/WebContent/MainMenu.do =================================================================== --- trunk/drawbridge/WebContent/MainMenu.do (rev 0) +++ trunk/drawbridge/WebContent/MainMenu.do 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1 @@ +Empty \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/classes/drawbridge.properties =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/classes/drawbridge.properties (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/classes/drawbridge.properties 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,2 @@ +drawbridge.hibernate.dialect=org.hibernate.dialect.MySQLDialect +drawbridge.hibernate.show_sql=true \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/drawbridge-servlet.xml =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/drawbridge-servlet.xml (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/drawbridge-servlet.xml 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> + +<beans> + + <import resource="classpath:drawbridge-core-spring.xml"/> + <import resource="classpath:drawbridge-env-spring.xml"/> + + <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> + <property name="location" value="classpath:drawbridge.properties"/> + </bean> + + <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> + <property name="mappings"> + <props> + <prop key="/MainMenu.do">mainMenuController</prop> + <prop key="/Admin.do">adminController</prop> + + <prop key="/ManageDatabases.do">manageDatabasesController</prop> + <prop key="/AddDatabase.do">addOrEditDatabaseController</prop> + <prop key="/EditDatabase.do">addOrEditDatabaseController</prop> + <prop key="/AddOrEditDatabaseSubmit.do">addOrEditDatabaseSubmitController</prop> + <prop key="/DeleteDatabaseSubmit.do">deleteDatabaseSubmitController</prop> + + <prop key="/ManageDrivers.do">manageDriversController</prop> + <prop key="/AddDriver.do">addOrEditDriverController</prop> + <prop key="/EditDriver.do">addOrEditDriverController</prop> + <prop key="/AddOrEditDriverSubmit.do">addOrEditDriverSubmitController</prop> + <prop key="/DeleteDriverSubmit.do">deleteDriverSubmitController</prop> + + <prop key="/ManageUsers.do">manageUsersController</prop> + <prop key="/AddUser.do">addOrEditUserController</prop> + <prop key="/EditUser.do">addOrEditUserController</prop> + <prop key="/AddOrEditUserSubmit.do">addOrEditUserSubmitController</prop> + <prop key="/DeleteUserSubmit.do">deleteUserSubmitController</prop> + + <prop key="/ManageGroups.do">manageGroupsController</prop> + <prop key="/AddGroup.do">addOrEditGroupController</prop> + <prop key="/EditGroup.do">addOrEditGroupController</prop> + <prop key="/AddOrEditGroupSubmit.do">addOrEditGroupSubmitController</prop> + <prop key="/DeleteGroupSubmit.do">deleteGroupSubmitController</prop> + + <prop key="/ManageRunAsAccounts.do">manageRunAsController</prop> + <prop key="/AddRunAsAccount.do">addOrEditRunAsController</prop> + <prop key="/EditRunAsAccount.do">addOrEditRunAsController</prop> + <prop key="/AddOrEditRunAsAccountSubmit.do">addOrEditRunAsSubmitController</prop> + <prop key="/DeleteRunAsAccountSubmit.do">deleteRunAsSubmitController</prop> + + <prop key="/ManageJobs.do">manageJobsController</prop> + <prop key="/AddJob.do">addOrEditJobController</prop> + <prop key="/EditJob.do">addOrEditJobController</prop> + <prop key="/AddOrEditJobSubmit.do">addOrEditJobSubmitController</prop> + <prop key="/DeleteJobSubmit.do">deleteJobSubmitController</prop> + <prop key="/RunJob.do">runJobController</prop> + <prop key="/RunJobSubmit.do">runJobSubmitController</prop> + + </props> + </property> + </bean> + + <bean id="abstractController" class="net.sf.drawbridge.controller.AbstractDrawbridgeController" abstract="true"> + <property name="drawbridgeService" ref="drawbridgeService"/> + </bean> + + <bean id="mainMenuController" class="net.sf.drawbridge.controller.MainMenuController" parent="abstractController"/> + <bean id="adminController" class="net.sf.drawbridge.controller.AdminController" parent="abstractController"/> + + <bean id="manageDatabasesController" class="net.sf.drawbridge.controller.database.ManageDatabasesController" parent="abstractController"/> + <bean id="addOrEditDatabaseController" class="net.sf.drawbridge.controller.database.AddOrEditDatabaseController" parent="abstractController"/> + <bean id="addOrEditDatabaseSubmitController" class="net.sf.drawbridge.controller.database.AddOrEditDatabaseSubmitController" parent="abstractController"/> + <bean id="deleteDatabaseSubmitController" class="net.sf.drawbridge.controller.database.DeleteDatabaseSubmitController" parent="abstractController"/> + + <bean id="manageDriversController" class="net.sf.drawbridge.controller.driver.ManageDriversController" parent="abstractController"/> + <bean id="addOrEditDriverController" class="net.sf.drawbridge.controller.driver.AddOrEditDriverController" parent="abstractController"/> + <bean id="addOrEditDriverSubmitController" class="net.sf.drawbridge.controller.driver.AddOrEditDriverSubmitController" parent="abstractController"/> + <bean id="deleteDriverSubmitController" class="net.sf.drawbridge.controller.driver.DeleteDriverSubmitController" parent="abstractController"/> + + <bean id="manageUsersController" class="net.sf.drawbridge.controller.user.ManageUsersController" parent="abstractController"/> + <bean id="addOrEditUserController" class="net.sf.drawbridge.controller.user.AddOrEditUserController" parent="abstractController"/> + <bean id="addOrEditUserSubmitController" class="net.sf.drawbridge.controller.user.AddOrEditUserSubmitController" parent="abstractController"/> + <bean id="deleteUserSubmitController" class="net.sf.drawbridge.controller.user.DeleteUserSubmitController" parent="abstractController"/> + + <bean id="manageGroupsController" class="net.sf.drawbridge.controller.group.ManageGroupsController" parent="abstractController"/> + <bean id="addOrEditGroupController" class="net.sf.drawbridge.controller.group.AddOrEditGroupController" parent="abstractController"/> + <bean id="addOrEditGroupSubmitController" class="net.sf.drawbridge.controller.group.AddOrEditGroupSubmitController" parent="abstractController"/> + <bean id="deleteGroupSubmitController" class="net.sf.drawbridge.controller.group.DeleteGroupSubmitController" parent="abstractController"/> + + <bean id="manageRunAsController" class="net.sf.drawbridge.controller.runas.ManageRunAsController" parent="abstractController"/> + <bean id="addOrEditRunAsController" class="net.sf.drawbridge.controller.runas.AddOrEditRunAsController" parent="abstractController"/> + <bean id="addOrEditRunAsSubmitController" class="net.sf.drawbridge.controller.runas.AddOrEditRunAsSubmitController" parent="abstractController"/> + <bean id="deleteRunAsSubmitController" class="net.sf.drawbridge.controller.runas.DeleteRunAsSubmitController" parent="abstractController"/> + + <bean id="manageJobsController" class="net.sf.drawbridge.controller.job.ManageJobsController" parent="abstractController"/> + <bean id="addOrEditJobController" class="net.sf.drawbridge.controller.job.AddOrEditJobController" parent="abstractController"/> + <bean id="addOrEditJobSubmitController" class="net.sf.drawbridge.controller.job.AddOrEditJobSubmitController" parent="abstractController"/> + <bean id="deleteJobSubmitController" class="net.sf.drawbridge.controller.job.DeleteJobSubmitController" parent="abstractController"/> + <bean id="runJobController" class="net.sf.drawbridge.controller.job.RunJobController" parent="abstractController"/> + <bean id="runJobSubmitController" class="net.sf.drawbridge.controller.job.RunJobSubmitController" parent="abstractController"/> + + <bean id="urlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/> + + <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> + <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/> + <property name="prefix" value="/WEB-INF/jsp/"/> + <property name="suffix" value=".jsp"/> + </bean> + + <bean id="redirectResolver" class="org.springframework.web.servlet.view.BeanNameViewResolver"> + <property name="order" value="1"/> + </bean> + + <bean id="mainMenuRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="MainMenu.do"/> + </bean> + + <bean id="manageDriversRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageDrivers.do"/> + </bean> + + <bean id="manageDatabasesRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageDatabases.do"/> + </bean> + + <bean id="manageUsersRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageUsers.do"/> + </bean> + + <bean id="manageGroupsRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageGroups.do"/> + </bean> + + <bean id="manageRunAsRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageRunAsAccounts.do"/> + </bean> + + <bean id="manageJobsRedirectView" class="org.springframework.web.servlet.view.RedirectView"> + <property name="contextRelative" value="true"/> + <property name="url" value="ManageJobs.do"/> + </bean> + + <bean id="localeResolver" class="org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver" /> + + <bean id="exceptionResolver" class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> + <property name="exceptionMappings"> + <props/> + </property> + <property name="defaultErrorView" value="error"/> + </bean> + +</beans> Added: trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/admin.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,31 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="header.jsp" %> +Please choose an admin task below.<br> +<br> +<a href="ManageDrivers.do"><img src="images/icons/32x32/emblem-system.png" border="0">Manage Drivers</a><br> +<a href="ManageDatabases.do"><img src="images/icons/32x32/emblem-system.png" border="0">Manage Databases</a><br> +<a href="ManageRunAsAccounts.do"><img src="images/icons/32x32/emblem-system.png" border="0">Manage Run-as Accounts</a><br> +<a href="ManageUsers.do"><img src="images/icons/32x32/system-users.png" border="0">Manage Users</a><br> +<a href="ManageGroups.do"><img src="images/icons/32x32/system-users.png" border="0">Manage Groups</a><br> +<a href="ManagePermissions.do"><img src="images/icons/32x32/emblem-readonly.png" border="0">Manage Permissions</a><br> +<!-- +insert into db_permission_list (name, permission_type) values ('ADD USER','S'); +insert into db_permission_list (name, permission_type) values ('EDIT USER','S'); +insert into db_permission_list (name, permission_type) values ('DELETE USER','S'); + +insert into db_permission_list (name, permission_type) values ('ADD GROUP','S'); +insert into db_permission_list (name, permission_type) values ('EDIT GROUP','S'); +insert into db_permission_list (name, permission_type) values ('DELETE GROUP','S'); + +insert into db_permission_list (name, permission_type) values ('ADD USER TO GROUP','S'); +insert into db_permission_list (name, permission_type) values ('REMOVE USER FROM GROUP','S'); + +insert into db_permission_list (name, permission_type) values ('GRANT PERMISSIONS FOR SYSTEM','S'); +insert into db_permission_list (name, permission_type) values ('GRANT PERMISSIONS FOR DATABASE','D'); +insert into db_permission_list (name, permission_type) values ('GRANT PERMISSIONS FOR RUN-AS','R'); + +add, edit, or delete driver +--> +<%@ include file="footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/addOrEdit.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,39 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> + +Please enter settings for database.<br> +<br> +<form action="AddOrEditDatabaseSubmit.do" method="post"> +<input type="hidden" name="databaseId" value="<c:out value="${param.databaseId}"/>"> +<table> + <tr> + <td align="right">Name:</td> + <td><input type="text" name="name" maxlength="32" size="40" value="<c:out value="${database.name}"/>"></td> + </tr> + <tr> + <td align="right">Jdbc Url:</td> + <td><input type="text" name="jdbcUrl" maxlength="128" size="40" value="<c:out value="${database.jdbcUrl}"/>"></td> + </tr> + <tr> + <td align="right">Driver:</td> + <td> + <select name="driverId"> + <c:forEach items="${driverList}" var="driver"> + <c:set var="selected" value="${NULL}"/> + <c:if test="${driver.id eq database.driverId}"> + <c:set var="selected" value="SELECTED"/> + </c:if> + <option value="<c:out value="${driver.id}"/>" <c:out value="${selected}"/>><c:out value="${driver.name}"/></option> + </c:forEach> + </select> + </td> + </tr> + <tr> + <td colspan="2" align="right"><input type="submit" value="Submit"></td> + </tr> +</table> +</form> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/database/manage.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,19 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> +<script language="JavaScript" src="js/drawbridge.js" /> + +Click an action below to edit or delete database, or <a href="AddDatabase.do">create a new database</a>.<br> +<br> +<display:table name="databaseList" id="row" requestURI="ManageDatabases.do" class="displaytable"> + <display:column property="name" title="Database Name" sortable="true"/> + <display:column property="jdbcUrl" title="Jdbc Url" sortable="true"/> + <display:column title="Driver" sortable="true"><c:out value="${driverMap[row.driverId].name}"/></display:column> + <display:column title="Action" style="text-align: center;"> + <a href="EditDatabase.do?databaseId=<c:out value="${row.id}"/>"><img src="images/icons/22x22/accessories-text-editor.png" title="Edit" border="0"></a> + <a href="DeleteDatabaseSubmit.do?databaseId=<c:out value="${row.id}"/>" onClick="return confirmDelete('database','<c:out value="${row.name}"/>')"><img src="images/icons/22x22/user-trash-full.png" title="Delete" border="0"></a> + </display:column> +</display:table> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/driver/addOrEdit.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,25 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> + +Please enter settings for driver.<br> +<br> +<form action="AddOrEditDriverSubmit.do" method="post"> +<input type="hidden" name="driverId" value="<c:out value="${param.driverId}"/>"> +<table> + <tr> + <td align="right">Name:</td> + <td><input type="text" name="name" maxlength="32" size="40" value="<c:out value="${driver.name}"/>"></td> + </tr> + <tr> + <td align="right">Class Name:</td> + <td><input type="text" name="className" maxlength="128" size="40" value="<c:out value="${driver.className}"/>"></td> + </tr> + <tr> + <td colspan="2" align="right"><input type="submit" value="Submit"></td> + </tr> +</table> +</form> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/driver/manage.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,18 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> +<script language="JavaScript" src="js/drawbridge.js" /> + +Click an action below to edit or delete driver, or <a href="AddDriver.do">create a new driver</a>.<br> +<br> +<display:table name="driverList" id="row" requestURI="ManageDrivers.do" class="displaytable"> + <display:column property="name" title="Driver Name" sortable="true"/> + <display:column property="className" title="Driver Class" sortable="true"/> + <display:column title="Action" style="text-align: center;"> + <a href="EditDriver.do?driverId=<c:out value="${row.id}"/>"><img src="images/icons/22x22/accessories-text-editor.png" title="Edit" border="0"></a> + <a href="DeleteDriverSubmit.do?driverId=<c:out value="${row.id}"/>" onClick="return confirmDelete('driver','<c:out value="${row.name}"/>')"><img src="images/icons/22x22/user-trash-full.png" title="Delete" border="0"></a> + </display:column> +</display:table> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/error.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,22 @@ +<%@page isErrorPage="true"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="header.jsp" %> + +<%@page import="java.io.PrintStream"%> +<%@page import="java.io.ByteArrayOutputStream"%> +<% +ByteArrayOutputStream baos=new ByteArrayOutputStream(); +PrintStream ps=new PrintStream(baos); +if(exception!=null){ + exception.printStackTrace(ps); +} +ps.close(); +baos.close(); +%> +<pre> +<c:out value="${baos}"/> +</pre> + +<%@ include file="footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/footer.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,9 @@ + <br> + </td> +</tr> +<tr class="headercell"> + <td colspan="3" align="center">Developed by Adam Cresse and Ben La Monica - <a href="http://drawbridge.sourceforge.net">http://drawbridge.sourceforge.net</a></td> +</tr> +</table> +</body> +</html> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/group/addOrEdit.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,49 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> +<script language="JavaScript" src="js/multiple_select.js" /> + +Please enter settings for group.<br> +<br> +<form action="AddOrEditGroupSubmit.do" method="post" name="groupForm" onsubmit="selectAllOptions(document.groupForm.availableUsers);selectAllOptions(document.groupForm.assignedUsers);"> +<input type="hidden" name="groupId" value="<c:out value="${param.groupId}"/>"> +<table> + <tr> + <td align="right">Group Name:</td> + <td><input type="text" name="groupName" maxlength="16" size="40" value="<c:out value="${group.groupName}"/>"></td> + </tr> + <tr> + <td align="right" valign="top" >Users:</td> + <td valign="top"> + <table> + <tr> + <td> + <select multiple="multiple" size="10" style="width: 150px" name="availableUsers"> + <c:forEach items="${availableUsers}" var="user"> + <option value="${user.id}"><c:out value="${user.userName}"/></option> + </c:forEach> + </select> + </td> + <td valign="middle"> + <input type="button" value=">>" onclick="moveOptions(document.groupForm.availableUsers,document.groupForm.assignedUsers)"><br> + <input type="button" value="<<" onclick="moveOptions(document.groupForm.assignedUsers,document.groupForm.availableUsers)"> + </td> + <td> + <select multiple="multiple" size="10" style="width: 150px" name="assignedUsers"> + <c:forEach items="${assignedUsers}" var="user"> + <option value="${user.id}"><c:out value="${user.userName}"/></option> + </c:forEach> + </select> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td colspan="2" align="right"><input type="submit" value="Submit"></td> + </tr> +</table> +</form> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/group/manage.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,17 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> +<script language="JavaScript" src="js/drawbridge.js" /> + +Click an action below to edit or delete groups, or <a href="AddGroup.do">create a new group</a>.<br> +<br> +<display:table name="groupList" id="row" requestURI="ManageGroups.do" class="displaytable"> + <display:column property="groupName" title="Group Name" sortable="true"/> + <display:column title="Action" style="text-align: center;"> + <a href="EditGroup.do?groupId=<c:out value="${row.id}"/>"><img src="images/icons/22x22/accessories-text-editor.png" title="Edit" border="0"></a> + <a href="DeleteGroupSubmit.do?groupId=<c:out value="${row.id}"/>" onClick="return confirmDelete('group','<c:out value="${row.groupName}"/>')"><img src="images/icons/22x22/user-trash-full.png" title="Delete" border="0"></a> + </display:column> +</display:table> + +<%@ include file="../footer.jsp" %> \ No newline at end of file Added: trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/header.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,34 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> +<html> +<head> +<title>DrawBridge - Database Administration Tool</title> +</head> +<LINK href="css/drawbridge.css" rel="stylesheet" type="text/css"/> +<LINK href="css/displaytag.css" rel="stylesheet" type="text/css"/> +<body> +<table width="100%" cellspacing="0"> +<tr height="100" valign="bottom" class="headercell"> + <td width="100"><a href="MainMenu.do"><img src="images/drawbridge.png" border="0"></a></td> + <td style="font-size: 50" valign="middle">DrawBridge</td> + <td width="250" align="right"> + <a href="MainMenu.do"><img src="images/icons/16x16/go-home.png" border="0">Home</a> | + <a href="Admin.do"><img src="images/icons/16x16/preferences-system.png" border="0">Admin</a> + </td> +</tr> +<c:if test="${messageList != null}"> +<tr> + <td colspan="3"> + <div class="messages"> + <ul> + <c:forEach items="${messageList}" var="message"> + <li style="list-style-image: url(images/icons/icon_<c:out value="${fn:toLowerCase(message.status)}"/>_sml.gif)"><c:out value="${message.message}"/> + </c:forEach> + </ul> + </div> + </td> +</tr> +<c:set scope="session" var="messageList" value="${NULL}"/> +</c:if> +<tr> + <td colspan="3"> Added: trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp =================================================================== --- trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp (rev 0) +++ trunk/drawbridge/WebContent/WEB-INF/jsp/job/addOrEdit.jsp 2008-03-14 03:04:39 UTC (rev 3) @@ -0,0 +1,63 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<%@taglib prefix="display" uri="http://displaytag.sf.net"%> +<%@ include file="../header.jsp" %> + +Please enter settings for job.<br> +<br> +<form action="AddOrEditJobSubmit.do" method="post" name="jobForm"> +<input type="hidden" name="jobId" value="<c:out value="${param.jobId}"/>"> +<input type="hidden" name="databaseId" value="<c:out value="${param.databaseId}"/>"> +<table> + <tr> + <td align="right">Job Name:</td> + <td><input type="text" name="name" maxlength="16" size="40" value="<c:out value="${job.name}"/>"></td> + </tr> + <tr> + <td align="right">Run-as Account:</td> + <td> + <select name="runAsId"> + <c:forEach items="${runAsList}" var="runAs"> + <c:set var="selected" value="${NULL}"/> + <c:if test="${runAs.id eq job.runAsId}"> + <c:set var="selected" value="SELECTED"/> + </c:if> + <option value="<c:out value="${runAs.id}"/>" <c:out value="${selected}"/>><c:out value="${runAs.userName}"/></option> + </c:forEach> + </select> + </td> + </tr> + <tr> + <td align="right">Query:</td> + <td> + <textarea rows="10" cols="40" name="query"><c:out value="${job.query}"/></textarea> + </td> + </tr> + <tr> + <td align="right">Status:</td> + <td> + <select name="active"> + <c:choose> + <c:when test="${!job.active}"> + <option value="true">Active</op... [truncated message content] |
From: <ac...@us...> - 2008-03-14 03:01:50
|
Revision: 2 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=2&view=rev Author: acresse Date: 2008-03-13 20:01:46 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Initial import. Added Paths: ----------- trunk/drawbridge/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ac...@us...> - 2008-03-14 02:57:17
|
Revision: 1 http://drawbridge.svn.sourceforge.net/drawbridge/?rev=1&view=rev Author: acresse Date: 2008-03-13 19:57:04 -0700 (Thu, 13 Mar 2008) Log Message: ----------- Added Paths: ----------- trunk/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |