for safe keeping

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290180 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-09-19 15:02:15 +00:00
parent a4615e50bc
commit 3ff84a5786
48 changed files with 3630 additions and 0 deletions

13
sandbox/acm/config.txt Normal file
View File

@ -0,0 +1,13 @@
+dev = Dev environment
+qa = QA environment
+test = Test environment
+prod = Production Environment
*tas.editor.stamp
{
dev = devValue
qa = qaValue
test = testValue
prod = prodValue
}

20
sandbox/acm/config.xml Normal file
View File

@ -0,0 +1,20 @@
<configuration-management>
<environments>
<environment>
<id>dev</id>
<name>Development Environment</name>
</environment>
</environments>
<properties>
<description></description>
<property>
<key>editor</key>
<values>
<environment>
<id>dev</id>
<value>devValue</value>
</environment>
</values>
</property>
</properties>
</configuration-mangement>

View File

@ -0,0 +1,82 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlpdev1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsd01
weblogic.database.port=1521
weblogic.database.SID=T3DD
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsd01
refinery.database.port=1521
refinery.database.SID=T3DD
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsd01
refineryext.database.port=1521
refineryext.database.SID=T3DD
weblogic.admin.host=smpqsd01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgd01
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intportalbrokert3
weblogic.IAExtension.SiteMinderAdmin=siteminder
weblogic.IAExtension.SiteMinderAdminPassword={3DES}3x8+x75ipmk=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=15
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=true
weblogicxml.jsp.pageCheckSeconds=1
weblogicxml.jsp.precompile=false
weblogicxml.jsp.precompileContinue=false
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlpdev1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlpdev1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsd01
env.portal.webservice.port=7041
env.search.beginUri=http://t3privdev.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsd01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsd01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3privdev.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlpdev1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrit03.tms.toyota.com
report.key.reportPort=1810
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable

View File

@ -0,0 +1,84 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlppp1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpintprod
weblogic.database.server=hppqsp11
weblogic.database.port=1521
weblogic.database.SID=T3IP
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3dgprod
refinery.database.server=hppqsp11
refinery.database.port=1521
refinery.database.SID=T3IP
refineryext.database.user=t3datglobl
refineryext.database.password=t3dgprod
refineryext.database.server=hppqsp11
refineryext.database.port=1521
refineryext.database.SID=T3IP
weblogic.admin.host=smpqsp01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgp05.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=t3admin
weblogic.IAExtension.SiteMinderAdminPassword={3DES}FZxvhDswJrc=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=100
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=false
weblogicxml.jsp.pageCheckSeconds=-1
weblogicxml.jsp.precompile=true
weblogicxml.jsp.precompileContinue=true
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlppp1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlppp1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsp01
env.portal.webservice.port=7041
env.search.beginUri=http://t3.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsp01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsp01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlppp1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrip10.tms.toyota.com
report.key.reportPort=1800
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100966a65c0-0000-81b5-0a3f070a&DOC_VERSION=1&JScript=enable

View File

@ -0,0 +1,83 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlpqa1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsq11
weblogic.database.port=1521
weblogic.database.SID=T3IA
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsq11
refinery.database.port=1521
refinery.database.SID=T3IA
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsq11
refineryext.database.port=1521
refineryext.database.SID=T3IA
weblogic.admin.host=smpqsq01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgq15.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=t3admin
weblogic.IAExtension.SiteMinderAdminPassword=42T3amm
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=100
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=false
weblogicxml.jsp.pageCheckSeconds=-1
weblogicxml.jsp.precompile=true
weblogicxml.jsp.precompileContinue=true
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlpqa1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlpqa1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsq01
env.portal.webservice.port=7041
env.search.beginUri=http://t3qa.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsq01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsq01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3qa.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlpqa1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrip11.tms.toyota.com
report.key.reportPort=1820
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=000001005330d663-0000-ea23-0a3f070b&DOC_VERSION=1&JScript=enable

View File

@ -0,0 +1,81 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlptest1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsd01
weblogic.database.port=1521
weblogic.database.SID=T3DT
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsd01
refinery.database.port=1521
refinery.database.SID=T3DT
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsd01
refineryext.database.port=1521
refineryext.database.SID=T3DT
weblogic.admin.host=smpqst01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=tau.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=siteminder
weblogic.IAExtension.SiteMinderAdminPassword={3DES}PeLrMhffwaQ=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=15
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=true
weblogicxml.jsp.pageCheckSeconds=1
weblogicxml.jsp.precompile=false
weblogicxml.jsp.precompileContinue=false
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlptest1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlptest1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqst01
env.portal.webservice.port=7041
env.search.beginUri=http://t3test.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqst01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqst01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3test.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlptest1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrit03.tms.toyota.com
report.key.reportPort=1810
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable

13
sandbox/acm/foo.txt Normal file
View File

@ -0,0 +1,13 @@
+qa = QA environment
+prod = Production Environment
+dev = Dev environment
+test = Test environment
*tas.editor.stamp
{
qa = qaValue
prod = prodValue
dev = devValue
test = testValue
}

28
sandbox/acm/maven-acm.iml Normal file
View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4" relativePaths="false" type="JAVA_MODULE">
<component name="ModuleRootManager" />
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/target/classes" />
<exclude-output />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="junit">
<CLASSES>
<root url="jar:///home/jvanzyl/maven-repo-local/junit/junit/3.8.1/junit-3.8.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntryProperties />
</component>
</module>

208
sandbox/acm/maven-acm.ipr Normal file
View File

@ -0,0 +1,208 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4" relativePaths="false">
<component name="AntConfiguration">
<defaultAnt bundledAnt="true" />
</component>
<component name="CodeStyleManager">
<option value="true" name="USE_DEFAULT_CODE_STYLE_SCHEME" />
<option value="" name="CODE_STYLE_SCHEME" />
</component>
<component name="CodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS" />
<option name="USE_PER_PROJECT_SETTINGS" value="false" />
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<option name="CLEAR_OUTPUT_DIRECTORY" value="false" />
<option name="DEPLOY_AFTER_MAKE" value="0" />
<resourceExtensions>
<entry name=".+\.(properties|xml|html)" />
<entry name=".+\.(gif|png|jpeg)" />
</resourceExtensions>
</component>
<component name="DataSourceManager" />
<component name="DataSourceManagerImpl" />
<component name="DependenciesAnalyzeManager">
<option name="myForwardDirection" value="false" />
</component>
<component name="DependencyValidationManager" />
<component name="EntryPointsManager">
<entry_points />
</component>
<component name="ExportToHTMLSettings">
<option name="PRINT_LINE_NUMBERS" value="false" />
<option name="OPEN_IN_BROWSER" value="false" />
<option name="OUTPUT_DIRECTORY" />
</component>
<component name="GUI Designer component loader factory" />
<component name="ImportConfiguration">
<option name="VENDOR" />
<option name="RELEASE_TAG" />
<option name="LOG_MESSAGE" />
<option value="true" name="CHECKOUT_AFTER_IMPORT" />
</component>
<component name="JUnitProjectSettings">
<option value="UI" name="TEST_RUNNER" />
</component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true" />
<option name="GENERATE_NO_WARNINGS" value="false" />
<option name="DEPRECATION" value="true" />
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
<option name="MAXIMUM_HEAP_SIZE" value="128" />
</component>
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" />
<option name="OPTION_SCOPE" value="protected" />
<option name="OPTION_HIERARCHY" value="false" />
<option name="OPTION_NAVIGATOR" value="false" />
<option name="OPTION_INDEX" value="false" />
<option name="OPTION_SEPARATE_INDEX" value="false" />
<option name="OPTION_DOCUMENT_TAG_USE" value="false" />
<option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
<option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
<option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="false" />
<option name="OPTION_DEPRECATED_LIST" value="false" />
<option name="OTHER_OPTIONS" />
<option name="HEAP_SIZE" />
<option name="OPEN_IN_BROWSER" value="false" />
</component>
<component name="JikesSettings">
<option name="JIKES_PATH" value="" />
<option name="DEBUGGING_INFO" value="true" />
<option name="DEPRECATION" value="true" />
<option name="GENERATE_NO_WARNINGS" value="false" />
<option name="IS_EMACS_ERRORS_MODE" value="true" />
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
</component>
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
</group>
</component>
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/maven-acm.iml" filepath="$PROJECT_DIR$/maven-acm.iml" />
</modules>
</component>
<component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version 1.4.2_09" />
<component name="RmicSettings">
<option name="IS_EANABLED" value="false" />
<option name="DEBUGGING_INFO" value="true" />
<option name="GENERATE_NO_WARNINGS" value="false" />
<option name="GENERATE_IIOP_STUBS" value="false" />
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
</component>
<component name="copyright">
<option name="body" value="/*&#10; * Copyright (c) $today.year Your Corporation. All Rights Reserved.&#10; */" />
<option name="location" value="1" />
<option name="remove" value="true" />
<option name="replace" value="2" />
</component>
<component name="libraryTable" />
<component name="uidesigner-configuration">
<option name="INSTRUMENT_CLASSES" value="true" />
<option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
</component>
<UsedPathMacros />
</project>

608
sandbox/acm/maven-acm.iws Normal file
View File

@ -0,0 +1,608 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4" relativePaths="false">
<component name="AppServerRunManager" />
<component name="AspectsView" />
<component name="BookmarkManager" />
<component name="ChangeBrowserSettings">
<option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
<option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
<option name="USE_DATE_BEFORE_FILTER" value="false" />
<option name="USE_DATE_AFTER_FILTER" value="false" />
<option name="USE_CHANGE_BEFORE_FILTER" value="false" />
<option name="USE_CHANGE_AFTER_FILTER" value="false" />
<option name="DATE_BEFORE" value="" />
<option name="DATE_AFTER" value="" />
<option name="CHANGE_BEFORE" value="" />
<option name="CHANGE_AFTER" value="" />
</component>
<component name="CheckinPanelState" />
<component name="Commander">
<leftPanel />
<rightPanel />
<splitter proportion="0.5" />
</component>
<component name="CompilerWorkspaceConfiguration">
<option name="COMPILE_IN_BACKGROUND" value="false" />
<option name="AUTO_SHOW_ERRORS_IN_EDITOR" value="true" />
<option name="CLOSE_MESSAGE_VIEW_IF_SUCCESS" value="true" />
<option name="COMPILE_DEPENDENT_FILES" value="false" />
</component>
<component name="Cvs2Configuration">
<option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
<option name="MERGING_MODE" value="0" />
<option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
<option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
<option name="RESET_STICKY" value="false" />
<option name="CREATE_NEW_DIRECTORIES" value="true" />
<option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
<option name="PROCESS_UNKNOWN_FILES" value="false" />
<option name="PROCESS_DELETED_FILES" value="false" />
<option name="PROCESS_IGNORED_FILES" value="false" />
<option name="RESERVED_EDIT" value="false" />
<option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
<value>
<option name="BRANCH" value="" />
<option name="DATE" value="" />
<option name="USE_BRANCH" value="false" />
<option name="USE_DATE" value="false" />
</value>
</option>
<option name="UPDATE_DATE_OR_REVISION_SETTINGS">
<value>
<option name="BRANCH" value="" />
<option name="DATE" value="" />
<option name="USE_BRANCH" value="false" />
<option name="USE_DATE" value="false" />
</value>
</option>
<option name="SHOW_CHANGES_REVISION_SETTINGS">
<value>
<option name="BRANCH" value="" />
<option name="DATE" value="" />
<option name="USE_BRANCH" value="false" />
<option name="USE_DATE" value="false" />
</value>
</option>
<option name="SHOW_OUTPUT" value="false" />
<option name="ADD_WATCH_INDEX" value="0" />
<option name="REMOVE_WATCH_INDEX" value="0" />
<option name="UPDATE_KEYWORD_SUBSTITUTION" />
<option name="MAKE_NEW_FILES_READONLY" value="false" />
<option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
<option name="TAG_AFTER_FILE_COMMIT" value="false" />
<option name="OVERRIDE_EXISTING_TAG_FOR_FILE" value="true" />
<option name="TAG_AFTER_FILE_COMMIT_NAME" value="" />
<option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
<option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
<option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
<option name="CLEAN_COPY" value="false" />
</component>
<component name="DaemonCodeAnalyzer">
<disable_hints />
</component>
<component name="DebuggerManager">
<breakpoint_any>
<breakpoint>
<option name="NOTIFY_CAUGHT" value="true" />
<option name="NOTIFY_UNCAUGHT" value="true" />
<option name="ENABLED" value="false" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
<option name="LOG_ENABLED" value="false" />
<option name="LOG_EXPRESSION_ENABLED" value="false" />
<option name="COUNT_FILTER_ENABLED" value="false" />
<option name="COUNT_FILTER" value="0" />
<option name="CONDITION_ENABLED" value="false" />
<option name="CLASS_FILTERS_ENABLED" value="false" />
<option name="INSTANCE_FILTERS_ENABLED" value="false" />
<option name="CONDITION" value="" />
<option name="LOG_MESSAGE" value="" />
</breakpoint>
</breakpoint_any>
<breakpoint_rules />
<ui_properties />
</component>
<component name="DebuggerSettings">
<option name="TRACING_FILTERS_ENABLED" value="true" />
<option name="TOSTRING_CLASSES_ENABLED" value="false" />
<option name="VALUE_LOOKUP_DELAY" value="700" />
<option name="DEBUGGER_TRANSPORT" value="0" />
<option name="FORCE_CLASSIC_VM" value="true" />
<option name="HIDE_DEBUGGER_ON_PROCESS_TERMINATION" value="false" />
<option name="SKIP_SYNTHETIC_METHODS" value="true" />
<option name="SKIP_CONSTRUCTORS" value="false" />
<option name="STEP_THREAD_SUSPEND_POLICY" value="SuspendThread" />
<default_breakpoint_settings>
<option name="NOTIFY_CAUGHT" value="true" />
<option name="NOTIFY_UNCAUGHT" value="true" />
<option name="WATCH_MODIFICATION" value="true" />
<option name="WATCH_ACCESS" value="true" />
<option name="WATCH_ENTRY" value="true" />
<option name="WATCH_EXIT" value="true" />
<option name="ENABLED" value="true" />
<option name="SUSPEND_VM" value="true" />
<option name="COUNT_FILTER_ENABLED" value="false" />
<option name="COUNT_FILTER" value="0" />
<option name="CONDITION_ENABLED" value="false" />
<option name="CONDITION" />
<option name="LOG_ENABLED" value="false" />
<option name="LOG_EXPRESSION_ENABLED" value="false" />
<option name="LOG_MESSAGE" />
<option name="CLASS_FILTERS_ENABLED" value="false" />
<option name="INVERSE_CLASS_FILLTERS" value="false" />
<option name="SUSPEND_POLICY" value="SuspendAll" />
</default_breakpoint_settings>
<filter>
<option name="PATTERN" value="com.sun.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="java.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="javax.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="org.omg.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="sun.*" />
<option name="ENABLED" value="true" />
</filter>
<filter>
<option name="PATTERN" value="junit.*" />
<option name="ENABLED" value="true" />
</filter>
</component>
<component name="EjbViewSettings">
<EjbView showMembers="false" autoscrollToSource="false" />
</component>
<component name="ErrorTreeViewConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FavoritesViewImpl">
<favorites_list name="maven-acm">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="IS_SHOW_MEMBERS" value="false" />
<option name="IS_STRUCTURE_VIEW" value="false" />
<option name="IS_SHOW_MODULES" value="true" />
<option name="IS_FLATTEN_PACKAGES" value="false" />
<option name="IS_ABBREVIATION_PACKAGE_NAMES" value="false" />
<option name="IS_HIDE_EMPTY_MIDDLE_PACKAGES" value="false" />
<option name="IS_SHOW_LIBRARY_CONTENTS" value="true" />
</favorites_list>
<option name="myCurrentFavoritesList" value="maven-acm" />
</component>
<component name="FileEditorManager" />
<component name="FindManager">
<FindUsagesManager>
<setting name="OPEN_NEW_TAB" value="false" />
</FindUsagesManager>
</component>
<component name="HierarchyBrowserManager">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="SORT_ALPHABETICALLY" value="false" />
<option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
</component>
<component name="InspectionManager">
<option name="AUTOSCROLL_TO_SOURCE" value="false" />
<option name="SPLITTER_PROPORTION" value="0.5" />
<option name="GROUP_BY_SEVERITY" value="false" />
<option name="ANALYZE_TEST_SOURCES" value="true" />
<option name="SCOPE_TYPE" value="1" />
<profile name="Default" />
</component>
<component name="J2EEProjectPane">
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.j2ee.module.view.nodes.J2EEProjectNodeDescriptor" />
</PATH_ELEMENT>
</PATH>
<setting name="SHOW_AS_DEPLOYMENT_VIEW" value="false" />
</component>
<component name="LvcsProjectConfiguration">
<option name="ADD_LABEL_ON_PROJECT_OPEN" value="true" />
<option name="ADD_LABEL_ON_PROJECT_COMPILATION" value="true" />
<option name="ADD_LABEL_ON_FILE_PACKAGE_COMPILATION" value="true" />
<option name="ADD_LABEL_ON_PROJECT_MAKE" value="true" />
<option name="ADD_LABEL_ON_RUNNING" value="true" />
<option name="ADD_LABEL_ON_DEBUGGING" value="true" />
<option name="ADD_LABEL_ON_UNIT_TEST_PASSED" value="true" />
<option name="ADD_LABEL_ON_UNIT_TEST_FAILED" value="true" />
</component>
<component name="ModuleEditorState">
<option name="LAST_EDITED_MODULE_NAME" />
<option name="LAST_EDITED_TAB_NAME" />
</component>
<component name="NamedScopeManager" />
<component name="PackagesPane">
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode" />
</PATH_ELEMENT>
</PATH>
</component>
<component name="PerforceChangeBrowserSettings">
<option name="USE_USER_FILTER" value="true" />
<option name="USE_CLIENT_FILTER" value="true" />
<option name="USER" value="" />
<option name="CLIENT" value="" />
</component>
<component name="PerforceDirect.Settings">
<option name="CURRENT_CHANGE_LIST" value="-1" />
<option name="useP4CONFIG" value="true" />
<option name="port" value="jasper:1666" />
<option name="client" value="" />
<option name="user" value="" />
<option name="passwd" value="" />
<option name="showCmds" value="false" />
<option name="useNativeApi" value="false" />
<option name="pathToExec" value="p4" />
<option name="useCustomPathToExec" value="false" />
<option name="SYNC_FORCE" value="false" />
<option name="SYNC_RUN_RESOLVE" value="true" />
<option name="REVERT_UNCHANGED_FILES" value="true" />
<option name="CHARSET" value="none" />
<option name="SHOW_BRANCHES_HISTORY" value="true" />
<option name="ENABLED" value="true" />
<option name="USE_LOGIN" value="false" />
<option name="LOGIN_SILENTLY" value="false" />
</component>
<component name="ProjectLevelVcsManager">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkin" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<OptionsSetting value="true" id="Undo Check Out" />
<OptionsSetting value="true" id="Compare with SourceSafe Version" />
<OptionsSetting value="true" id="Get Latest Version" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectPane">
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm.ipr" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="maven-acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main/java" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main/java/org" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main/java/org/apache" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main/java/org/apache/maven" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="PsiDirectory:$PROJECT_DIR$/src/main/java/org/apache/maven/acm" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</component>
<component name="ProjectReloadState">
<option name="STATE" value="0" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" splitterProportion="0.5">
<flattenPackages ProjectPane="false" />
<showMembers />
<showModules />
<showLibraryContents />
<hideEmptyPackages ProjectPane="false" />
<abbreviatePackageNames />
<showStructure PackagesPane="false" ProjectPane="false" />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType ProjectPane="false" />
</navigator>
</component>
<component name="ProjectViewSettings">
<navigator currentView="ProjectPane" flattenPackages="false" showMembers="false" showStructure="false" autoscrollToSource="false" splitterProportion="0.5" />
<view id="ProjectPane">
<expanded_node type="directory" url="file://$PROJECT_DIR$" />
</view>
<view id="SourcepathPane" />
<view id="ClasspathPane" />
</component>
<component name="PropertiesComponent">
<property name="MemberChooser.copyJavadoc" value="false" />
<property name="GoToClass.includeLibraries" value="false" />
<property name="MemberChooser.showClasses" value="true" />
<property name="MemberChooser.sorted" value="false" />
<property name="GoToFile.includeJavaFiles" value="false" />
<property name="GoToClass.toSaveIncludeLibraries" value="false" />
</component>
<component name="ReadonlyStatusHandler">
<option name="SHOW_DIALOG" value="true" />
</component>
<component name="RecentsManager">
<key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
<recent name="org.apache.maven" />
</key>
</component>
<component name="RestoreUpdateTree" />
<component name="RunManager">
<activeType name="Application" />
<configuration selected="false" default="true" type="Applet" factoryName="Applet">
<module name="" />
<option name="MAIN_CLASS_NAME" />
<option name="HTML_FILE_NAME" />
<option name="HTML_USED" value="false" />
<option name="WIDTH" value="400" />
<option name="HEIGHT" value="300" />
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<option name="VM_PARAMETERS" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
</configuration>
<configuration selected="false" default="true" type="JUnit" factoryName="JUnit">
<module name="" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PACKAGE_NAME" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
<option name="TEST_OBJECT" />
<option name="VM_PARAMETERS" />
<option name="PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ADDITIONAL_CLASS_PATH" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="wholeProject" />
</option>
</configuration>
<configuration selected="false" default="true" type="Remote" factoryName="Remote">
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="false" />
<option name="SHMEM_ADDRESS" value="javadebug" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5005" />
</configuration>
<configuration selected="false" default="true" type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" />
<option name="VM_PARAMETERS" />
<option name="PROGRAM_PARAMETERS" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<module name="" />
</configuration>
</component>
<component name="SelectInManager" />
<component name="StarteamConfiguration">
<option name="SERVER" value="" />
<option name="PORT" value="49201" />
<option name="USER" value="" />
<option name="PASSWORD" value="" />
<option name="PROJECT" value="" />
<option name="VIEW" value="" />
<option name="ALTERNATIVE_WORKING_PATH" value="" />
</component>
<component name="StructuralSearchPlugin" />
<component name="StructureViewFactory">
<option name="AUTOSCROLL_MODE" value="true" />
<option name="AUTOSCROLL_FROM_SOURCE" value="false" />
<option name="ACTIVE_ACTIONS" value="" />
</component>
<component name="SvnChangesBrowserSettings">
<option name="USE_AUTHOR_FIELD" value="true" />
<option name="AUTHOR" value="" />
<option name="LOCATION" value="" />
<option name="USE_PROJECT_SETTINGS" value="true" />
<option name="USE_ALTERNATE_LOCATION" value="false" />
</component>
<component name="SvnConfiguration">
<option name="USER" value="" />
<option name="PASSWORD" value="" />
</component>
<component name="TodoView" selected-index="0">
<todo-panel id="selected-file">
<are-packages-shown value="false" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="true" />
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="-2" y="29" width="1610" height="1154" extended-state="1" />
<editor active="false" />
<layout>
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="7" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.25" order="0" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="1" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="6" />
<window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Favorites" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="2" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
<window_info id="File View" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.4" order="4" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="sliding" type="sliding" visible="false" weight="0.4" order="0" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="0" />
<window_info id="Aspects" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="3" />
<window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="3" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="5" />
</layout>
</component>
<component name="VCS.FileViewConfiguration">
<option name="SELECTED_STATUSES" value="DEFAULT" />
<option name="SELECTED_COLUMNS" value="DEFAULT" />
<option name="SHOW_FILTERS" value="true" />
<option name="CUSTOMIZE_VIEW" value="true" />
<option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
</component>
<component name="VcsManagerConfiguration">
<option name="PUT_FOCUS_INTO_COMMENT" value="false" />
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
<option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
<option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="OPTIMIZE_IMPORTS_BEFORE_FILE_COMMIT" value="false" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
<option name="ERROR_OCCURED" value="false" />
<option name="ACTIVE_VCS_NAME" value="" />
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
</component>
<component name="VssConfiguration">
<option name="CLIENT_PATH" value="" />
<option name="SRCSAFEINI_PATH" value="" />
<option name="USER_NAME" value="" />
<option name="PWD" value="" />
<option name="VSS_IS_INITIALIZED" value="true" />
<CheckoutOptions>
<option name="COMMENT" value="" />
<option name="DO_NOT_GET_LATEST_VERSION" value="false" />
<option name="REPLACE_WRITABLE" value="false" />
<option name="RECURSIVE" value="false" />
</CheckoutOptions>
<CheckinOptions>
<option name="COMMENT" value="" />
<option name="KEEP_CHECKED_OUT" value="false" />
<option name="RECURSIVE" value="false" />
</CheckinOptions>
<AddOptions>
<option name="COMMENT" value="" />
<option name="STORE_ONLY_LATEST_VERSION" value="false" />
<option name="CHECK_OUT_IMMEDIATELY" value="false" />
<option name="FILE_TYPE" value="0" />
</AddOptions>
<UndocheckoutOptions>
<option name="MAKE_WRITABLE" value="false" />
<option name="REPLACE_LOCAL_COPY" value="0" />
<option name="RECURSIVE" value="false" />
</UndocheckoutOptions>
<GetOptions>
<option name="REPLACE_WRITABLE" value="0" />
<option name="MAKE_WRITABLE" value="false" />
<option name="RECURSIVE" value="false" />
</GetOptions>
</component>
<component name="WebViewSettings">
<webview flattenPackages="false" showMembers="false" autoscrollToSource="false" />
</component>
<component name="antWorkspaceConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager" />
<component name="editorManager" />
</project>

13
sandbox/acm/pom.xml Normal file
View File

@ -0,0 +1,13 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.acm</groupId>
<artifactId>maven-acm</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,10 @@
package org.apache.maven.acm;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public abstract class AbstractProvider
implements ParameterProvider
{
}

View File

@ -0,0 +1,56 @@
package org.apache.maven.acm;
// Have a single parameter for a system
//
// system = {dev|test|qa|production}
//
// Need to be able to change these values at runtime and persist the changes
// so that they are preserved for future builds I need to keep this information
// outside of the build environment
// For toyota where can I store the values ...
public class Acm
implements ParameterProvider
{
public static final String ACM_SYSTEM_ID = "acm.system.id";
private String systemId;
private ParameterProvider provider;
public Acm( ParameterProvider parameterProvider )
{
this( System.getProperty( ACM_SYSTEM_ID ), parameterProvider );
}
public Acm( String systemId, ParameterProvider parameterProvider )
{
this.systemId = systemId;
this.provider = parameterProvider;
}
public String getParameter( String key )
throws SystemProviderSourceException
{
return getParameter( getSystemId(), key );
}
public String getParameter( String system, String key )
throws SystemProviderSourceException
{
if ( system == null )
{
return null;
}
return provider.getParameter( system, key );
}
public String getSystemId()
{
return systemId;
}
}

View File

@ -0,0 +1,46 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm;
import org.apache.maven.acm.convert.PropertiesConverter;
import org.apache.maven.acm.model.Model;
import org.apache.maven.acm.text.AcmTextDescriptorWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
/**
* Unit test for simple App.
*
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
*/
public class Main
{
static protected void writeModel( Model model, String file )
throws Exception
{
PrintWriter writer = new PrintWriter( new FileWriter( file ) );
AcmTextDescriptorWriter w = new AcmTextDescriptorWriter();
w.write( writer, model );
}
static public void main( String[] args )
throws Exception
{
String sourceDirectory = args[0];
String modelFile = args[1];
PropertiesConverter converter = new PropertiesConverter();
Model model = converter.convert( sourceDirectory );
writeModel( model, modelFile );
}
}

View File

@ -0,0 +1,11 @@
package org.apache.maven.acm;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public interface ParameterProvider
{
String getParameter( String system, String key )
throws SystemProviderSourceException;
}

View File

@ -0,0 +1,47 @@
package org.apache.maven.acm;
import java.util.List;
import java.util.Properties;
import java.util.Iterator;
import java.util.ArrayList;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesComparator
{
public List compare( Properties source, Properties target )
{
List propertiesMissingFromTarget = new ArrayList();
for ( Iterator i = source.keySet().iterator(); i.hasNext(); )
{
String key = (String) i.next();
if ( target.get( key ) == null )
{
propertiesMissingFromTarget.add( key );
}
}
return propertiesMissingFromTarget;
}
public void compareReport( File sourceFile, File targetFile )
throws Exception
{
Properties source = new Properties();
source.load( new FileInputStream( sourceFile ) );
Properties target = new Properties();
target.load( new FileInputStream( targetFile ) );
List diff = compare( source, target );
}
}

View File

@ -0,0 +1,46 @@
package org.apache.maven.acm;
import java.io.InputStream;
import java.io.IOException;
import java.util.Properties;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesProvider
extends AbstractProvider
{
private ClassLoader classLoader;
private static final String EXTENSION = ".properties";
public PropertiesProvider()
{
this( Thread.currentThread().getContextClassLoader() );
}
public PropertiesProvider( ClassLoader classLoader )
{
this.classLoader = classLoader;
}
public String getParameter( String systemId, String key )
throws SystemProviderSourceException
{
InputStream is = classLoader.getResourceAsStream( systemId + EXTENSION );
Properties p = new Properties();
try
{
p.load( is );
}
catch ( IOException e )
{
throw new SystemProviderSourceException( "Cannot find the source for parameters: ", e );
}
return p.getProperty( key );
}
}

View File

@ -0,0 +1,90 @@
package org.apache.maven.acm;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
/**
* Wraps a String as an InputStream. Note that data will be lost for
* characters not in ISO Latin 1, as a simple char->byte mapping is assumed.
*
* @author <a href="mailto:umagesh@codehaus.org">Magesh Umasankar</a>
*/
public class StringInputStream
extends InputStream
{
/** Source string, stored as a StringReader */
private StringReader in;
/**
* Composes a stream from a String
*
* @param source The string to read from. Must not be <code>null</code>.
*/
public StringInputStream( String source )
{
in = new StringReader( source );
}
/**
* Reads from the Stringreader, returning the same value. Note that
* data will be lost for characters not in ISO Latin 1. Clients
* assuming a return value in the range -1 to 255 may even fail on
* such input.
*
* @return the value of the next character in the StringReader
*
* @exception IOException if the original StringReader fails to be read
*/
public int read() throws IOException
{
return in.read();
}
/**
* Closes the Stringreader.
*
* @exception IOException if the original StringReader fails to be closed
*/
public void close() throws IOException
{
in.close();
}
/**
* Marks the read limit of the StringReader.
*
* @param limit the maximum limit of bytes that can be read before the
* mark position becomes invalid
*/
public synchronized void mark( final int limit )
{
try
{
in.mark( limit );
}
catch ( IOException ioe )
{
throw new RuntimeException( ioe.getMessage() );
}
}
/**
* Resets the StringReader.
*
* @exception IOException if the StringReader fails to be reset
*/
public synchronized void reset() throws IOException
{
in.reset();
}
/**
* @see InputStream#markSupported
*/
public boolean markSupported()
{
return in.markSupported();
}
}

View File

@ -0,0 +1,27 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class SystemProviderSourceException
extends Exception
{
public SystemProviderSourceException( String message )
{
super( message );
}
public SystemProviderSourceException( Throwable cause )
{
super( cause );
}
public SystemProviderSourceException( String message, Throwable cause )
{
super( message, cause );
}
}

View File

@ -0,0 +1,42 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.convert;
import java.io.File;
import java.io.FilenameFilter;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class FileScanner
{
public File[] scan( File directory, String extension )
{
File[] files = directory.listFiles( new ExtensionFilter( extension ) );
return files;
}
class ExtensionFilter
implements FilenameFilter
{
String extension;
public ExtensionFilter( String ext )
{
this.extension = ext;
}
public boolean accept( File directory, String filename )
{
if ( filename.endsWith( extension ) )
{
return true;
}
return false;
}
}
}

View File

@ -0,0 +1,94 @@
package org.apache.maven.acm.convert;
import org.apache.maven.acm.model.Model;
import org.apache.maven.acm.model.Environment;
import java.io.FileInputStream;
import java.io.File;
import java.io.FilenameFilter;
import java.util.Properties;
import java.util.Iterator;
/**
* We want to take a set of properties files, where one properties file represents
* the configuration for a particular environment, and combine them into a
* single application configuration management model.
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesConverter
{
public Model convert( String directory )
throws Exception
{
Model m = new Model();
File f = new File( directory );
File[] files = f.listFiles( new PropertiesFilter() );
for ( int i = 0; i < files.length; i++ )
{
File p = files[i];
String env = p.getName();
env = env.substring( 0, env.indexOf( "." ) );
processProperties( env, p.getPath(), m );
}
return m;
}
class PropertiesFilter
implements FilenameFilter
{
public boolean accept( File directory, String filename )
{
if ( filename.endsWith( ".properties" ) )
{
return true;
}
return false;
}
}
protected void processProperties( String env, String properties, Model model )
throws Exception
{
System.out.println( "Processing " + env );
Environment e = new Environment();
e.setId( env );
e.setDescription( "Environment for " + env );
FileInputStream is = new FileInputStream( properties );
Properties p = new Properties();
p.load( is );
for ( Iterator i = p.keySet().iterator(); i.hasNext(); )
{
String propertyKey = (String) i.next();
model.addPropertyKey( propertyKey );
String value = p.getProperty( propertyKey );
if ( value == null )
{
value = "NOT_SET for " + env;
}
e.addProperty( propertyKey, value );
}
model.addEnvironment( e );
}
}

View File

@ -0,0 +1,50 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.convert;
import org.apache.maven.acm.model.Model;
import org.apache.maven.acm.model.Environment;
import java.util.Iterator;
import java.util.Properties;
import java.io.FileOutputStream;
import java.io.File;
/**
* Take an application configuration management model and general
* properties files, one for each environment.
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesGenerator
{
public void generate( Model model, String outputDirectory, String prefix )
throws Exception
{
for ( Iterator i = model.getEnvironments().values().iterator(); i.hasNext(); )
{
Environment e = (Environment) i.next();
Properties p = e.getProperties();
String filename;
if ( prefix != null )
{
filename = prefix + e.getId() + ".properties";
}
else
{
filename = e.getId() + ".properties";
}
File outputFile = new File( outputDirectory, filename );
FileOutputStream os = new FileOutputStream( outputFile );
p.store( os, "Properties for the " + e.getId() + " environment." );
}
}
}

View File

@ -0,0 +1,197 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.convert;
import org.apache.maven.acm.util.InterpolationFilterWriter;
import org.apache.maven.acm.util.MapInterpolationHandler;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.Iterator;
/**
* This tool works in the case where you have a set of properties files that
* control your application configuration and a set of environmental properties files
* that are merged against your properties files used for your application
* configuration.
* <p/>
* So you might have:
* <p/>
* brioreport.properties
* config.properties
* portal.properties
* <p/>
* These control your properties files for your application configurations.
* Then you might have the following:
* <p/>
* dev.properties
* test.properties
* qa.properties
* prod.properties
* <p/>
* These are properties for the environment the application is
* running in.
* <p/>
* Our goal here is to unify these into a coherent ACM so that
* we can manage these.
* <p/>
* In this particular case the environmental properties are used for
* swizzling the application properties above in addition to being
* used to swizzle other resources like weblogic config.xml files.
* <p/>
* So first we will take all the application configuration properties
* and concatenate them together
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesMunger
{
private static String APP = "application.props";
public void munge( File applicationSourceDirectory,
File environmentSourceDirectory,
File outputDirectory )
throws Exception
{
if ( !outputDirectory.exists() )
{
outputDirectory.mkdirs();
}
FileScanner scanner = new FileScanner();
File[] appProperties = scanner.scan( applicationSourceDirectory, "properties" );
File[] envProperties = scanner.scan( environmentSourceDirectory, "properties" );
// ----------------------------------------------------------------------
// Combine all the application properties into a single file
// ----------------------------------------------------------------------
Properties app = new Properties();
Map m = new HashMap();
for ( int i = 0; i < appProperties.length; i++ )
{
Properties p = new Properties();
p.load( new FileInputStream( appProperties[i] ) );
app.putAll( p );
}
File aggregate = new File( outputDirectory, APP );
FileOutputStream os = new FileOutputStream( aggregate );
app.store( os, APP );
os.close();
// ----------------------------------------------------------------------
// Now write out the template for the application configurations
// ----------------------------------------------------------------------
for ( int i = 0; i < envProperties.length; i++ )
{
String envName = envProperties[i].getName();
envName = envName.substring( 0, envName.indexOf( "." ) );
Properties p = new Properties();
p.load( new FileInputStream( envProperties[i] ) );
// ------------------------------------------------------------------------
// Now use these properties and merge them with the application.properties
// to produce a properties file targeted at a particular environment.
// ------------------------------------------------------------------------
Reader reader = new FileReader( aggregate );
File output = new File( outputDirectory, envName + ".properties" );
MapInterpolationHandler handler = new MapInterpolationHandler( p );
InterpolationFilterWriter writer = new InterpolationFilterWriter( new FileWriter( output ), handler );
copy( reader, writer );
reader.close();
writer.close();
// ------------------------------------------------------------------------
// Now look at the difference in keys between the application configuration
// and the environment configuration and push the difference into
// application configuration so we have a self contained set of
// properties for an environment. We are basically making one
// configuration for an environment.
// ------------------------------------------------------------------------
Properties appProps = new Properties();
FileInputStream is = new FileInputStream( output );
appProps.load( is );
is.close();
for ( Iterator j = p.keySet().iterator(); j.hasNext(); )
{
String key = (String) j.next();
if ( ! appProps.containsKey( key ) )
{
appProps.setProperty( key, p.getProperty( key ) );
}
}
os = new FileOutputStream( output );
appProps.store( os, "props for " + envName );
os.close();
}
}
public static void copy( Reader input, Writer output )
throws IOException
{
char[] buffer = new char[1024 * 4];
int n = 0;
while ( -1 != ( n = input.read( buffer ) ) )
{
output.write( buffer, 0, n );
}
}
public static void main( String[] args )
throws Exception
{
File appSource = new File( args[0] );
File envSource = new File( args[1] );
File output = new File( args[2] );
PropertiesMunger munger = new PropertiesMunger();
munger.munge( appSource, envSource, output );
}
}

View File

@ -0,0 +1,59 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.model;
import java.util.Properties;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class Environment
{
private String id;
private String description;
private Properties properties = new Properties();
public String getId()
{
return id;
}
public void setId( String id )
{
this.id = id;
}
public String getDescription()
{
return description;
}
public void setDescription( String description )
{
this.description = description;
}
public void addProperty( String key, String value )
{
properties.setProperty( key, value );
}
public String getProperty( String key )
{
return properties.getProperty( key );
}
public Properties getProperties()
{
return properties;
}
public void setProperties( Properties properties )
{
this.properties = properties;
}
}

View File

@ -0,0 +1,50 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.model;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class Model
{
private Map environments = new HashMap();
private Set propertyKeySet = new HashSet();
public void addEnvironment( Environment environment )
{
environments.put( environment.getId(), environment );
}
public Map getEnvironments()
{
return environments;
}
public Environment getEnvironment( String id )
{
return (Environment) environments.get( id );
}
public void addPropertyKey( String propertyKey )
{
propertyKeySet.add( propertyKey );
}
public Set getPropertyKeySet()
{
return propertyKeySet;
}
// ----------------------------------------------------------------------
// for each proprety key I want to know what the values are in each
// of the environments are.
// ----------------------------------------------------------------------
}

View File

@ -0,0 +1,115 @@
package org.apache.maven.acm.text;
import org.apache.maven.acm.model.Environment;
import org.apache.maven.acm.model.Model;
import org.apache.maven.acm.StringInputStream;
import java.io.BufferedReader;
import java.io.Reader;
import java.util.Iterator;
import java.util.Properties;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id: SinkDescriptorReader.java,v 1.1 2004/09/22 00:01:42 jvanzyl Exp $
*/
public class AcmTextDescriptorReader
{
public Model read( Reader reader )
throws Exception
{
Model model = new Model();
BufferedReader br = new BufferedReader( reader );
String line;
String propertyKey = null;
StringBuffer propertiesText = new StringBuffer();
while ( ( line = br.readLine() ) != null )
{
if ( line.startsWith( "//" ) || line.startsWith( "{" ) || line.trim().length() == 0 )
{
continue;
}
else if ( line.startsWith( "+" ) )
{
// Process an environment definition
Environment e = new Environment();
String environment = line.substring( 1 ).trim();
int i = environment.indexOf( "=" );
String id = environment.substring( 0, i - 1 ).trim();
String description = environment.substring( i + 1 ).trim();
e.setId( id );
e.setDescription( description );
model.addEnvironment( e );
}
else if ( line.startsWith( "*" ) )
{
propertyKey = line.substring( 1 ).trim();
model.addPropertyKey( propertyKey );
if ( propertyKey.endsWith( "{" ) )
{
propertyKey = propertyKey.substring( 0, propertyKey.length() - 1 ).trim();
}
}
else if ( line.endsWith( "}" ) )
{
// This is what we're parsing:
//
// dev = devValue
// test = testValue
// qa = qaValue
//
Properties p = new Properties();
p.load( new StringInputStream( propertiesText.toString() ) );
processProperties( model, propertyKey, p );
propertiesText = new StringBuffer();
}
else
{
propertiesText.append( line ).append( "\n" );
}
}
return model;
}
private void processProperties( Model model, String propertyKey, Properties properties )
{
// Iterate though the properties and assign the value for the property key
// for each environment specified.
//
// dev = devValue
// test = testValue
// qa = qaValue
//
// So for a given propertyKey we need to assign values for the dev, test, and qa
// environments.
for ( Iterator i = properties.keySet().iterator(); i.hasNext(); )
{
String environmentKey = (String) i.next();
Environment environment = model.getEnvironment( environmentKey );
environment.addProperty( propertyKey, properties.getProperty( environmentKey ) );
}
}
}

View File

@ -0,0 +1,94 @@
package org.apache.maven.acm.text;
import org.apache.maven.acm.model.Environment;
import org.apache.maven.acm.model.Model;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
/**
* Write out an application configuration management model in the
* simple text format.
*
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
* @todo groups of properties
* @todo sorting
* @todo order of environments inside a propertyKey setting
*/
public class AcmTextDescriptorWriter
{
public void write( PrintWriter writer, Model model)
throws Exception
{
writeEnvironments( writer, model );
writeProperties( writer, model );
writer.flush();
writer.close();
}
protected void writeEnvironments( PrintWriter writer, Model model )
throws Exception
{
for ( Iterator i = model.getEnvironments().values().iterator(); i.hasNext(); )
{
Environment e = (Environment) i.next();
writer.print( "+" );
writer.print( e.getId() );
writer.print( " = " );
writer.println( e.getDescription() );
}
writer.println();
}
protected void writeProperties( PrintWriter writer, Model model )
throws Exception
{
List sortedPropertyKeys = new ArrayList( model.getPropertyKeySet() );
Collections.sort( sortedPropertyKeys );
for ( Iterator i = sortedPropertyKeys.iterator(); i.hasNext(); )
{
String propertyKey = (String) i.next();
writer.print( "*" );
writer.println( propertyKey );
writer.println( "{" );
// ----------------------------------------------------------------------
// For each environment state the value for this property key
// ----------------------------------------------------------------------
for ( Iterator j = model.getEnvironments().values().iterator(); j.hasNext(); )
{
Environment e = (Environment) j.next();
writer.print( " " );
writer.print( e.getId() );
writer.print( " = " );
writer.println( e.getProperty( propertyKey ) );
}
writer.println( "}" );
writer.println();
}
}
}

View File

@ -0,0 +1,135 @@
package org.apache.maven.acm.util;
import java.io.FilterWriter;
import java.io.IOException;
import java.io.Writer;
public class InterpolationFilterWriter
extends FilterWriter
{
private int index = 0;
private String beginToken;
private int beginTokenLength;
private StringBuffer queuedData = new StringBuffer();
private int beginTokenIndex;
private int endTokenIndex;
private String endToken;
private int endTokenLength;
private static String DEFAULT_BEGIN_TOKEN = "@";
private static String DEFAULT_END_TOKEN = "@";
private InterpolationHandler interpolationHandler;
public InterpolationFilterWriter( Writer out, InterpolationHandler interpolationHandler )
{
this( out, interpolationHandler, DEFAULT_BEGIN_TOKEN, DEFAULT_END_TOKEN );
}
public InterpolationFilterWriter( Writer out, InterpolationHandler interpolationHandler, String beginToken, String endToken )
{
super( out );
this.interpolationHandler = interpolationHandler;
this.beginToken = beginToken;
beginTokenLength = beginToken.length();
this.endToken = endToken;
endTokenLength = endToken.length();
}
public void write( String s )
throws IOException
{
int length = s.length();
for ( int i = 0; i < length; i++ )
{
write( s.charAt( i ) );
}
}
public void write( char[] buf, int offset, int len )
throws IOException
{
for ( int i = offset; i < len; i++ )
{
write( (char) buf[i] );
}
}
public void write( int c )
throws IOException
{
if ( index == 0 && c == beginToken.toCharArray()[beginTokenIndex] )
{
if ( beginTokenIndex == ( beginTokenLength - 1 ) )
{
beginTokenIndex = 0;
}
else
{
beginTokenIndex++;
}
queuedData.append( (char) c );
index++;
}
else if ( index > 0 && c == endToken.toCharArray()[endTokenIndex] )
{
if ( endTokenIndex == ( endTokenLength - 1 ) )
{
queuedData.append( (char) c );
beginTokenIndex = 0;
endTokenIndex = 0;
index = 0;
interpolate( queuedData.toString() );
queuedData = new StringBuffer();
}
else
{
queuedData.append( (char) c );
endTokenIndex++;
index++;
}
}
else if ( index > 0 )
{
queuedData.append( (char) c );
index++;
}
else
{
out.write( c );
}
}
private void interpolate( String s )
throws IOException
{
String key = s.substring( beginTokenLength, s.length() - endTokenLength );
interpolationHandler.interpolate( key, out );
}
}

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm.util;
import java.io.Writer;
import java.io.IOException;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public interface InterpolationHandler
{
public void interpolate( String key, Writer writer )
throws IOException;
}

View File

@ -0,0 +1,35 @@
package org.apache.maven.acm.util;
import java.util.Map;
import java.io.IOException;
import java.io.Writer;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class MapInterpolationHandler
implements InterpolationHandler
{
private Map map;
public MapInterpolationHandler( Map map )
{
this.map = map;
}
public void interpolate( String key, Writer out )
throws IOException
{
Object o = map.get( key );
if ( o == null )
{
out.write( key );
}
else
{
out.write( o.toString() );
}
}
}

View File

@ -0,0 +1,26 @@
package org.apache.maven.acm;
import junit.framework.TestCase;
/**
* Unit test for simple App.
*
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
*/
public class AcmTest
extends TestCase
{
public void testAcmSettingTheDefaultSystemId()
throws Exception
{
Acm acm = new Acm( "dev", new PropertiesProvider() );
assertEquals( "dev", acm.getParameter( "system" ) );
assertEquals( "test", acm.getParameter( "test", "system" ) );
assertEquals( "qa", acm.getParameter( "qa", "system" ) );
assertEquals( "production", acm.getParameter( "production", "system" ) );
}
}

View File

@ -0,0 +1,95 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm;
import junit.framework.TestCase;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.FileWriter;
import java.io.Writer;
import java.io.PrintWriter;
import java.io.File;
import org.apache.maven.acm.model.Model;
import org.apache.maven.acm.model.Environment;
import org.apache.maven.acm.text.AcmTextDescriptorReader;
import org.apache.maven.acm.text.AcmTextDescriptorWriter;
import org.apache.maven.acm.convert.PropertiesConverter;
import org.apache.maven.acm.convert.PropertiesGenerator;
/**
* Unit test for simple App.
*
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
*/
public class AcmTextDescriptorReaderTest
extends TestCase
{
private String basedir;
protected void setUp()
throws Exception
{
basedir = System.getProperty( "basedir" );
}
public void testTextDescriptorReaderTest()
throws Exception
{
Model model = getModel();
testModel( model );
writeModel( model, "foo.txt" );
}
protected void writeModel( Model model, String file )
throws Exception
{
PrintWriter writer = new PrintWriter( new FileWriter( file ) );
AcmTextDescriptorWriter w = new AcmTextDescriptorWriter();
w.write( writer, model );
}
protected void testModel( Model model )
throws Exception
{
assertEquals( 4, model.getEnvironments().size() );
Environment dev = model.getEnvironment( "dev" );
assertNotNull( dev );
assertEquals( "devValue", dev.getProperty( "tas.editor.stamp" ) );
}
protected Model getModel()
throws Exception
{
AcmTextDescriptorReader reader = new AcmTextDescriptorReader();
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream( "config.txt" );
Model model = reader.read( new InputStreamReader( is ) );
return model;
}
public void testPropertiesConverter()
throws Exception
{
PropertiesConverter converter = new PropertiesConverter();
Model model = converter.convert( new File( basedir, "config").getPath() );
writeModel( model, "toyota.config" );
PropertiesGenerator pg = new PropertiesGenerator();
pg.generate( model, new File( basedir, "target" ).getPath(), "t3_" );
}
}

View File

@ -0,0 +1,36 @@
package org.apache.maven.acm;
import junit.framework.TestCase;
import java.util.Properties;
import java.util.List;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesComparatorTest
extends TestCase
{
public void testPropertiesComparator()
throws Exception
{
Properties source = new Properties();
Properties target = new Properties();
source.setProperty( "property0", "value0" );
source.setProperty( "property1", "value1" );
target.setProperty( "property3", "value3" );
PropertiesComparator pc = new PropertiesComparator();
List diff = pc.compare( source, target );
assertTrue( diff.contains( "property0" ) );
assertTrue( diff.contains( "property1" ) );
}
}

View File

@ -0,0 +1,35 @@
/*
* Copyright (c) 2005 Your Corporation. All Rights Reserved.
*/
package org.apache.maven.acm;
import junit.framework.TestCase;
import org.apache.maven.acm.convert.PropertiesMunger;
import java.io.File;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
* @version $Id:$
*/
public class PropertiesMungerTest
extends TestCase
{
public void testPropertiesMunger()
throws Exception
{
String basedir = System.getProperty( "basedir" );
PropertiesMunger munger = new PropertiesMunger();
File appSource = new File( basedir, "t3/app" );
File envSource = new File( basedir, "t3/env" );
File output = new File( basedir, "target/config" );
munger.munge( appSource, envSource, output );
}
}

View File

@ -0,0 +1,13 @@
+dev = Dev environment
+qa = QA environment
+test = Test environment
+prod = Production Environment
*tas.editor.stamp
{
dev = devValue
qa = qaValue
test = testValue
prod = prodValue
}

View File

@ -0,0 +1 @@
system=dev

View File

@ -0,0 +1 @@
system=production

View File

@ -0,0 +1 @@
system=qa

View File

@ -0,0 +1 @@
system=test

View File

@ -0,0 +1,14 @@
report.key.reportHost=smbrip11
report.key.reportPort=1820
report.mutex.time=10
report.key.reportBase=/t3reporting
# local dev
#report.key.proxy=http://smbrit02
# deployment
report.key.proxy=
report.key.reportURI=/T3/
report.tas.report.url=/t3reporting/browse/get/T3/BQYs/Search%20TAS%20Cases
# test configuration
app.junit.test=TRUE

View File

@ -0,0 +1,36 @@
# This can be configured to WEBSERVICE or CONTROL
env.portal.control.config=CONTROL
# ldap environment -- use ldaps instead of ldap for SSL protocol
env.portal.ldap.protocol=ldap
env.portal.ldap.host=tau.tms.toyota.com
env.portal.ldap.port=389
env.portal.ldap.initial_context_factory=com.sun.jndi.ldap.LdapCtxFactory
env.portal.ldap.security_authentication=simple
env.portal.ldap.security_principal.prefix=cn=
env.portal.ldap.security_principal.suffix=,ou=people,ou=tms,ou=intranet,o=teds
# database environment
env.portal.datasource.name=jdbc/globalDataSource
# environment web service http
env.portal.webservice.host=smpqsd01
env.portal.webservice.port=7041
# environment web service http for timers
env.portal.id.webservice.host=localhost
env.portal.id.webservice.port=7021
# enviroment web service timer url
env.timer.webservice.host=localhost
env.timer.webservice.port=7021
# search properties
env.search.beginUri=http://t3privdev.tms.toyota.com/t3Portal/internal
env.search.queryTables=APPL_SERV_CAT_PREPRESS_VW SCA, APPL_VEH_PREPRESS_VW VA
# application url
env.application.url=http://t3privdev.tms.toyota.com
# test configuration
app.junit.test=TRUE

View File

@ -0,0 +1,80 @@
tas.editor.stamp=\n--------------- {0} at {1} ---------------\n\n
# Days before a document is expired only used when it is in the initiated state
tas.editor.expire.initiated=14
# Years before any other document is expired
tas.editor.expire.non-initiated=5
# Portal Properties for Reassignment Failure
tas.editor.reassigment=TA Case has been reassigned to {0} [{1}].
tas.editor.escalated=TA Case has been escalated to {0} [{1}].
### REMOVE the lines below after the 7th Iteration
tas.editor.temp.firstname=Mike
tas.editor.temp.lastname=Robinson
tas.editor.temp.commonname=robinsm1234@toyota.com
tas.editor.temp.principal=robinsm1234@toyota.com
# Tas Dealer/Technician
tas.dealer.technicianname=Unlisted Techninican
tas.dealer.technicianid=unlisted_id
# TA Email Properties
tas.email.from.name=T3_TAS_NOTIFIER
tas.email.from.email=Russell_Suzuki@toyota.com
tas.email.cc.email=I_DO_NOT_EXIST_TEST_EMAIL@toyota.com
tas.email.smtp=tiemann.tms.toyota.com
tas.email.escalate.subject=TAS Case {0}
tas.email.escalate.body=TAS Case {0} is being forwarded to you for further assistance. Please login into the T3 system ({1}) to resolve the case.
tas.email.reassign.subject=TAS Case {0}
tas.email.reassign.body=TAS Case {0} is being forwarded to you for further assistance. Please login into the T3 system ({1}) to resolve the case.
tas.email.url=http://t3privdev.tms.toyota.com/t3Portal
tas.email.ready=true
# TA CC Composer Properties
tas.message.composer.subject=TAS Notification: TA Case {0}
tas.message.composer.body=TAS Case {0} has been forwarded to you for information and reference purposes. For further details please log into the T3 system.\n\n
# TA Viewer Configurations
tas.viewer.ta.select=select tas.T3_ID as "tasID", tas.STATUS_CODE as "statusCode", tas.CREATION_TIMESTAMP as "creationTime", tas.LAST_MODIFIED_TIMESTAMP as "lastModTime", tas.CREATOR_USERID as "creatorUserId", tas.CREATOR_NAME as "creatorName", tas.OWNER_USERID as "ownerUserId", tas.OWNER_NAME as "ownerName", tas.DEALER_TECH_USERID as "dealerTechUserId", tas.DEALER_TECH_NAME as "dealerTechName", tas.DEALER_TECH_INITIATED as "dealerTechInitiated", tas.DEALER_CODE as "dealerCode", tas.DEALER_NAME as "dealerName", tas.DEALER_REGION_CODE as "dealerRegionCode", tas.QA_DEPARTMENT_NAME as "qaDepartmentName", tas.SERVICE_CATEGORY_CODE as "serviceCategoryCode", tas.SERVICE_CATEGORY_DESC as "serviceCategoryDescription", tas.SECTION_CODE as "sectionCode", tas.SECTION_DESC as "sectionDescription", tas.SUB_COMPONENT_CODE as "subcomponentCode", tas.SUB_COMPONENT_DESC as "subcomponentDescription", tas.CONDITION_CODE as "conditionCode", tas.CONDITION_DESC as "conditionDescription", tas.CAUSE_COMPONENT_CODE as "causeComponentCode", tas.CAUSE_COMPONENT_DESC as "causeComponentDescription", tas.CAUSE_SUB_COMP_CODE as "causeSubcomponentCode", tas.CAUSE_SUB_COMP_DESC as "causeSubcomponentDescription", tas.CAUSE_CONDITION_CODE as "causeConditionCode", tas.CAUSE_CONDITION_DESC as "causeConditionDescription" from dctm_tas_general_info tas, dctm_tas_dtc_codes dtc
tas.viewer.ta.order=order by STATUS_CODE, T3_ID
tas.viewer.ta.window.title=TA+Viewer::
# TC Viewer SQL Strings
tas.viewer.tc.select=select distinct T3_ID as "T3_ID", obj.i_chronicle_id as "I_CHRONICLE_ID", obj.object_type as "OBJECT_TYPE", obj.publication_number as "PUBLICATION_NUMBER", obj.object_title as "OBJECT_TITLE", sc.service_category_code as "serviceCategory", sc.section_code as "section", sc.sub_component_code as "subComponent", veh.division_code as "division", veh.model_name as "model", veh.model_year as "year", veh.vds as "vds" from applicability_object obj, applicability_veh veh, applicability_serv_cat sc where {0} veh.i_chronicle_id = sc.i_chronicle_id and veh.i_chronicle_id=obj.i_chronicle_id
tas.viewer.tc.where.all=0
tas.viewer.tc.object.state=internal
tas.viewer.tc.items.per.page=15
tas.viewer.tc.access.TCTMS=ProductEngineer,TASSupervisor,TASEditor,TASReviewer,TASAdmin,SystemAdmin
tas.viewer.tc.access.TCRegion=FieldEngineer
tas.viewer.tc.access.TCAll=Observer
# TA Helper Configuration
tas.editor.helper.element.service.category=TMSMeta-service_category
tas.editor.helper.element.section=TMSMeta-section
tas.editor.helper.element.subcomponent=TMSMeta-subcomponent
tas.editor.helper.element.condition=TMSMeta-symptom
tas.editor.helper.element.cause.comp=TQNET-cause_comp_area
tas.editor.helper.element.cause.subcomp=TQNET-cause_sub_comp
tas.editor.helper.element.cause.condition=TQNET-cause_condition
tas.editor.helper.namespace=http://common.t3.tms.com/xmlbeans/ta
tas.editor.helper.attribute.code=code
# TAS Data Query Time in Seconds
tas.reference.default.querytime=10
# UUP completion
app.uup.completed=TRUE
# TAS Attachment
tas.editor.attachment.path=C:/dev/attachment/
tas.editor.attachment.activate=true
tas.editor.attachment.maxattachmentinsertion=128
# test configuration
app.junit.test=TRUE
# home page forward
t3.forward.uri=/appmanager/t3/int

82
sandbox/acm/t3/env/dev.properties vendored Normal file
View File

@ -0,0 +1,82 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlpdev1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsd01
weblogic.database.port=1521
weblogic.database.SID=T3DD
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsd01
refinery.database.port=1521
refinery.database.SID=T3DD
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsd01
refineryext.database.port=1521
refineryext.database.SID=T3DD
weblogic.admin.host=smpqsd01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgd01
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intportalbrokert3
weblogic.IAExtension.SiteMinderAdmin=siteminder
weblogic.IAExtension.SiteMinderAdminPassword={3DES}3x8+x75ipmk=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=15
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=true
weblogicxml.jsp.pageCheckSeconds=1
weblogicxml.jsp.precompile=false
weblogicxml.jsp.precompileContinue=false
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlpdev1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlpdev1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsd01
env.portal.webservice.port=7041
env.search.beginUri=http://t3privdev.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsd01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsd01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3privdev.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlpdev1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrit03.tms.toyota.com
report.key.reportPort=1810
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable

84
sandbox/acm/t3/env/prod.properties vendored Normal file
View File

@ -0,0 +1,84 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlppp1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpintprod
weblogic.database.server=hppqsp11
weblogic.database.port=1521
weblogic.database.SID=T3IP
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3dgprod
refinery.database.server=hppqsp11
refinery.database.port=1521
refinery.database.SID=T3IP
refineryext.database.user=t3datglobl
refineryext.database.password=t3dgprod
refineryext.database.server=hppqsp11
refineryext.database.port=1521
refineryext.database.SID=T3IP
weblogic.admin.host=smpqsp01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgp05.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=t3admin
weblogic.IAExtension.SiteMinderAdminPassword={3DES}FZxvhDswJrc=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=100
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=false
weblogicxml.jsp.pageCheckSeconds=-1
weblogicxml.jsp.precompile=true
weblogicxml.jsp.precompileContinue=true
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlppp1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlppp1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsp01
env.portal.webservice.port=7041
env.search.beginUri=http://t3.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsp01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsp01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlppp1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrip10.tms.toyota.com
report.key.reportPort=1800
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100966a65c0-0000-81b5-0a3f070a&DOC_VERSION=1&JScript=enable

83
sandbox/acm/t3/env/qa.properties vendored Normal file
View File

@ -0,0 +1,83 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlpqa1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsq11
weblogic.database.port=1521
weblogic.database.SID=T3IA
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsq11
refinery.database.port=1521
refinery.database.SID=T3IA
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsq11
refineryext.database.port=1521
refineryext.database.SID=T3IA
weblogic.admin.host=smpqsq01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=smtbgq15.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=t3admin
weblogic.IAExtension.SiteMinderAdminPassword=42T3amm
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=100
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=false
weblogicxml.jsp.pageCheckSeconds=-1
weblogicxml.jsp.precompile=true
weblogicxml.jsp.precompileContinue=true
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlpqa1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlpqa1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqsq01
env.portal.webservice.port=7041
env.search.beginUri=http://t3qa.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqsq01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqsq01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3qa.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlpqa1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrip11.tms.toyota.com
report.key.reportPort=1820
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=000001005330d663-0000-ea23-0a3f070b&DOC_VERSION=1&JScript=enable

81
sandbox/acm/t3/env/test.properties vendored Normal file
View File

@ -0,0 +1,81 @@
unix.bea.dir=/t3/apps/wl/8.1.3
win.bea.dir=/bea
jdk.ver=jdk142_04
weblogic.ver=weblogic81
unix.cvsroot.dir=/t3/build/cruisecontrol/checkout
win.cvsroot.dir=/dev
win.deploy.dir=/dev/t3/library/deploy
unix.deploy.dir=/t3/envs/wlptest1
weblogic.domain.name=iPortal
weblogic.database.user=t3wlpint
weblogic.database.password=t3wlpint
weblogic.database.server=hppqsd01
weblogic.database.port=1521
weblogic.database.SID=T3DT
# Used by i/ePortal
refinery.database.user=t3datglobl
refinery.database.password=t3datglobl
refinery.database.server=hppqsd01
refinery.database.port=1521
refinery.database.SID=T3DT
refineryext.database.user=t3datglobl
refineryext.database.password=t3datglobl
refineryext.database.server=hppqsd01
refineryext.database.port=1521
refineryext.database.SID=T3DT
weblogic.admin.host=smpqst01
weblogic.admin.port=7021
weblogic.admin.sslport=7022
weblogic.debug.port=8023
weblogic.system.user=system
weblogic.system.password=password
weblogic.NovellAuthenticator.host=tau.tms.toyota.com
weblogic.NovellAuthenticator.principal=cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
weblogic.NovellAuthenticator.password=intPortalBrokert3
weblogic.IAExtension.SiteMinderAdmin=siteminder
weblogic.IAExtension.SiteMinderAdminPassword={3DES}PeLrMhffwaQ=
weblogic.additional.security=Security:Name=myrealmIAExtension
weblogic.ExecuteQueue=15
# web.xml configuration
webxml.auth-method=CLIENT-CERT
# weblogic.xml configuration
weblogicxml.publisher.local-path=/t3/data/pub
weblogicxml.staticcontent.local-path=/t3/data
weblogicxml.jsp.debug=true
weblogicxml.jsp.pageCheckSeconds=1
weblogicxml.jsp.precompile=false
weblogicxml.jsp.precompileContinue=false
# log4j.properties configuration
log4j.configuration.file=file:/t3/envs/wlptest1/iPortal/log4j.properties
log4j.log.dir=/t3/envs/wlptest1/iPortal/logs
# application.properties configuration
app.portal.enviroment=internal
# config.properties configuration
env.portal.webservice.host=smpqst01
env.portal.webservice.port=7041
env.search.beginUri=http://t3test.tms.toyota.com/t3Portal/internal
env.timer.webservice.host=smpqst01
env.timer.webservice.port=7021
env.portal.id.webservice.host=smpqst01
env.portal.id.webservice.port=7021
# portal.properties configuration
tas.email.url=http://t3test.tms.toyota.com/t3Portal
tas.editor.attachment.path=/t3/envs/wlptest1/iPortal/attachment/
# brioreport.properties configuration
report.key.reportHost=smbrit03.tms.toyota.com
report.key.reportPort=1810
report.tas.report.url=/t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable

30
sandbox/acm/t3/make-config.sh Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
# -------------------------------------------------------------
# This process creates the application configuration properties
# ------------------------------------------------------------
envProperties=/t3/build/cruisecontrol/checkout/t3/library/config
templateProperties=/t3/build/cruisecontrol/checkout/t3/library/src/application/t3PortalApp/portal_properties/internal
envs="wlpdev1 wlptest1 wlpqa1 wlppp1"
for i in $envs
do
cp $envProperties/env.properties.iportal.${i} ${i}.properties
done
mv wlpdev1.properties dev.properties
mv wlptest1.properties test.properties
mv wlpqa1.properties qa.properties
mv wlppp1.properties prod.properties
mkdir env
mv *.properties env
mkdir app
cp $templateProperties/portal.properties app
cp $templateProperties/config.properties app
cp $templateProperties/brioreport.properties app

477
sandbox/acm/toyota.config Normal file
View File

@ -0,0 +1,477 @@
+qa = Environment for qa
+prod = Environment for prod
+dev = Environment for dev
+test = Environment for test
*app.portal.enviroment
{
qa = internal
prod = internal
dev = internal
test = internal
}
*env.portal.id.webservice.host
{
qa = smpqsq01
prod = smpqsp01
dev = smpqsd01
test = smpqst01
}
*env.portal.id.webservice.port
{
qa = 7021
prod = 7021
dev = 7021
test = 7021
}
*env.portal.webservice.host
{
qa = smpqsq01
prod = smpqsp01
dev = smpqsd01
test = smpqst01
}
*env.portal.webservice.port
{
qa = 7041
prod = 7041
dev = 7041
test = 7041
}
*env.search.beginUri
{
qa = http://t3qa.tms.toyota.com/t3Portal/internal
prod = http://t3.tms.toyota.com/t3Portal/internal
dev = http://t3privdev.tms.toyota.com/t3Portal/internal
test = http://t3test.tms.toyota.com/t3Portal/internal
}
*env.timer.webservice.host
{
qa = smpqsq01
prod = smpqsp01
dev = smpqsd01
test = smpqst01
}
*env.timer.webservice.port
{
qa = 7021
prod = 7021
dev = 7021
test = 7021
}
*jdk.ver
{
qa = jdk142_04
prod = jdk142_04
dev = jdk142_04
test = jdk142_04
}
*log4j.configuration.file
{
qa = file:/t3/envs/wlpqa1/iPortal/log4j.properties
prod = file:/t3/envs/wlppp1/iPortal/log4j.properties
dev = file:/t3/envs/wlpdev1/iPortal/log4j.properties
test = file:/t3/envs/wlptest1/iPortal/log4j.properties
}
*log4j.log.dir
{
qa = /t3/envs/wlpqa1/iPortal/logs
prod = /t3/envs/wlppp1/iPortal/logs
dev = /t3/envs/wlpdev1/iPortal/logs
test = /t3/envs/wlptest1/iPortal/logs
}
*refinery.database.SID
{
qa = T3IA
prod = T3IP
dev = T3DD
test = T3DT
}
*refinery.database.password
{
qa = t3datglobl
prod = t3dgprod
dev = t3datglobl
test = t3datglobl
}
*refinery.database.port
{
qa = 1521
prod = 1521
dev = 1521
test = 1521
}
*refinery.database.server
{
qa = hppqsq11
prod = hppqsp11
dev = hppqsd01
test = hppqsd01
}
*refinery.database.user
{
qa = t3datglobl
prod = t3datglobl
dev = t3datglobl
test = t3datglobl
}
*refineryext.database.SID
{
qa = T3IA
prod = T3IP
dev = T3DD
test = T3DT
}
*refineryext.database.password
{
qa = t3datglobl
prod = t3dgprod
dev = t3datglobl
test = t3datglobl
}
*refineryext.database.port
{
qa = 1521
prod = 1521
dev = 1521
test = 1521
}
*refineryext.database.server
{
qa = hppqsq11
prod = hppqsp11
dev = hppqsd01
test = hppqsd01
}
*refineryext.database.user
{
qa = t3datglobl
prod = t3datglobl
dev = t3datglobl
test = t3datglobl
}
*report.key.reportHost
{
qa = smbrip11.tms.toyota.com
prod = smbrip10.tms.toyota.com
dev = smbrit03.tms.toyota.com
test = smbrit03.tms.toyota.com
}
*report.key.reportPort
{
qa = 1820
prod = 1800
dev = 1810
test = 1810
}
*report.tas.report.url
{
qa = /t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=000001005330d663-0000-ea23-0a3f070b&DOC_VERSION=1&JScript=enable
prod = /t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100966a65c0-0000-81b5-0a3f070a&DOC_VERSION=1&JScript=enable
dev = /t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable
test = /t3reporting/dataaccess/Browse?REQUEST_TYPE=GET_DOCUMENT&DOC_UUID=00000100f6bb076d-0000-eafc-0a311104&DocVersion=1&JScript=enable
}
*tas.editor.attachment.path
{
qa = /t3/envs/wlpqa1/iPortal/attachment/
prod = /t3/envs/wlppp1/iPortal/attachment/
dev = /t3/envs/wlpdev1/iPortal/attachment/
test = /t3/envs/wlptest1/iPortal/attachment/
}
*tas.email.url
{
qa = http://t3qa.tms.toyota.com/t3Portal
prod = http://t3.tms.toyota.com/t3Portal
dev = http://t3privdev.tms.toyota.com/t3Portal
test = http://t3test.tms.toyota.com/t3Portal
}
*unix.bea.dir
{
qa = /t3/apps/wl/8.1.3
prod = /t3/apps/wl/8.1.3
dev = /t3/apps/wl/8.1.3
test = /t3/apps/wl/8.1.3
}
*unix.cvsroot.dir
{
qa = /t3/build/cruisecontrol/checkout
prod = /t3/build/cruisecontrol/checkout
dev = /t3/build/cruisecontrol/checkout
test = /t3/build/cruisecontrol/checkout
}
*unix.deploy.dir
{
qa = /t3/envs/wlpqa1
prod = /t3/envs/wlppp1
dev = /t3/envs/wlpdev1
test = /t3/envs/wlptest1
}
*weblogic.ExecuteQueue
{
qa = 100
prod = 100
dev = 15
test = 15
}
*weblogic.IAExtension.SiteMinderAdmin
{
qa = t3admin
prod = t3admin
dev = siteminder
test = siteminder
}
*weblogic.IAExtension.SiteMinderAdminPassword
{
qa = 42T3amm
prod = {3DES}FZxvhDswJrc=
dev = {3DES}3x8+x75ipmk=
test = {3DES}PeLrMhffwaQ=
}
*weblogic.NovellAuthenticator.host
{
qa = smtbgq15.tms.toyota.com
prod = smtbgp05.tms.toyota.com
dev = smtbgd01
test = tau.tms.toyota.com
}
*weblogic.NovellAuthenticator.password
{
qa = intPortalBrokert3
prod = intPortalBrokert3
dev = intportalbrokert3
test = intPortalBrokert3
}
*weblogic.NovellAuthenticator.principal
{
qa = cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
prod = cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
dev = cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
test = cn=T3intPortalBroker,ou=svcaccounts,ou=spec,o=teds
}
*weblogic.additional.security
{
qa = Security:Name=myrealmIAExtension
prod = Security:Name=myrealmIAExtension
dev = Security:Name=myrealmIAExtension
test = Security:Name=myrealmIAExtension
}
*weblogic.admin.host
{
qa = smpqsq01
prod = smpqsp01
dev = smpqsd01
test = smpqst01
}
*weblogic.admin.port
{
qa = 7021
prod = 7021
dev = 7021
test = 7021
}
*weblogic.admin.sslport
{
qa = 7022
prod = 7022
dev = 7022
test = 7022
}
*weblogic.database.SID
{
qa = T3IA
prod = T3IP
dev = T3DD
test = T3DT
}
*weblogic.database.password
{
qa = t3wlpint
prod = t3wlpintprod
dev = t3wlpint
test = t3wlpint
}
*weblogic.database.port
{
qa = 1521
prod = 1521
dev = 1521
test = 1521
}
*weblogic.database.server
{
qa = hppqsq11
prod = hppqsp11
dev = hppqsd01
test = hppqsd01
}
*weblogic.database.user
{
qa = t3wlpint
prod = t3wlpint
dev = t3wlpint
test = t3wlpint
}
*weblogic.debug.port
{
qa = 8023
prod = 8023
dev = 8023
test = 8023
}
*weblogic.domain.name
{
qa = iPortal
prod = iPortal
dev = iPortal
test = iPortal
}
*weblogic.system.password
{
qa = password
prod = password
dev = password
test = password
}
*weblogic.system.user
{
qa = system
prod = system
dev = system
test = system
}
*weblogic.ver
{
qa = weblogic81
prod = weblogic81
dev = weblogic81
test = weblogic81
}
*weblogicxml.jsp.debug
{
qa = false
prod = false
dev = true
test = true
}
*weblogicxml.jsp.pageCheckSeconds
{
qa = -1
prod = -1
dev = 1
test = 1
}
*weblogicxml.jsp.precompile
{
qa = true
prod = true
dev = false
test = false
}
*weblogicxml.jsp.precompileContinue
{
qa = true
prod = true
dev = false
test = false
}
*weblogicxml.publisher.local-path
{
qa = /t3/data/pub
prod = /t3/data/pub
dev = /t3/data/pub
test = /t3/data/pub
}
*weblogicxml.staticcontent.local-path
{
qa = /t3/data
prod = /t3/data
dev = /t3/data
test = /t3/data
}
*webxml.auth-method
{
qa = CLIENT-CERT
prod = CLIENT-CERT
dev = CLIENT-CERT
test = CLIENT-CERT
}
*win.bea.dir
{
qa = /bea
prod = /bea
dev = /bea
test = /bea
}
*win.cvsroot.dir
{
qa = /dev
prod = /dev
dev = /dev
test = /dev
}
*win.deploy.dir
{
qa = /dev/t3/library/deploy
prod = /dev/t3/library/deploy
dev = /dev/t3/library/deploy
test = /dev/t3/library/deploy
}