Author: vrubezhny
Date: 2009-04-03 11:59:18 -0400 (Fri, 03 Apr 2009)
New Revision: 14501
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java
Log:
JBIDE-4044 Review unused strings from Messages classes as reported by UCDetector
The unused properies are removed from JST WEB bundle classes and their bundles
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03
15:41:48 UTC (rev 14500)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03
15:59:18 UTC (rev 14501)
@@ -1,25 +1,10 @@
-# apparently not used
-ERR_SERVER_IS_NOT_CONFIGURED=Selected server is not configured
-
-
-
+#
+# Next 3 messages are used in org.jboss.tools.jst.web.context.RegisterServerContext
+#
ERR_APP_NAME_IS_NOT_SPECIFIED=Application Name is not specified.
-
-# apparently not used
-ERR_LOCATION_IS_NOT_SPECIFIED={0} location is not specified. Set correct path to {1}
Root Dir in preferences.
-
# START NON-TRANSLATABLE
-# apparently not used
-ERR_SPECIFIED_FILE_DOES_NOT_EXIST=Specified " + where + " file does not exist.
# END NON-TRANSLATABLE
-# apparently not used
-ERR_FILE_IS_CORRUPTED={0} is corrupted {1}.
-# apparently not used
-ERR_TARGET_SERVER=Set correct target server.
-
-
-
ERR_SERVLET_VERSION_IS_NOT_SET=Servlet version is not specified.
ERR_SERVLET_VERSION_IS_NOT_VALID=Servlet version is not valid.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03
15:41:48 UTC (rev 14500)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03
15:59:18 UTC (rev 14501)
@@ -14,33 +14,22 @@
FILE_ISNOT_CORRECT=File {0} is not correct *.war file.
FILE_ISNOT_RECOGNIZED=File {0} is not recognized as web descriptor file.
FILE_DOESNOT_CONTAIN_WEBXML=File {0} does not contain web.xml.
-FILE_DOMAINXML_IS_CORRUPTED=File domain.xml is corrupted.
FILE_ISNOT_RECOGNIZED_AS_WEBDESCRIPTOR_FILE=File is not recognized as web descriptor
file.
WAR_LOCATION_MUST_BE_SET=*.war location must be set.
CANNOT_READ_WEBXML=Cannot read web.xml from {0}.
-CANNOT_START_SERVER=Cannot start server:
CANNOT_FIND_TOOLSJAR=Cannot find tools.jar for the specified jvm environment. It may
result in jsp compilation problems.
NAME_MUST_BE_SET=Name must be set.
PROJECT_ALREADY_EXISTS_IN_THE_WORKSPACE=Project {0} already exists in the workspace.
-CANNOT_LOAD_WEBDESCRIPTOR=Cannot load web descriptor file {0}.
WEBDESCRIPTOR_FILE_IS_CORRUPTED=Web descriptor file is corrupted {0}.
SERVLET_VERSION_WARNING=Servlet version is not consistent with web.xml version.
SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION=You have selected a different
servlet version than in project''s web.xml file. Click Yes if you would like to
convert the current web.xml file to servlet version {0}. Please note that during
conversion you might lose some web.xml information that is not available in the new
version as well as formatting or comments.
SAVE_OLD_SERVLET=Do you want to save a copy of your current web.xml file? It will be
saved as web.xml.{0}.old
-J2EE_ROOT_DIRECTORY_ISNOT_FOUND=J2ee root directory is not found.
-DOMAINS_DIRECTORY_ISNOT_FOUND=Domains directory is not found.
-DOMAIN_ISNOT_FOUND=Domain {0} is not found
-CONFIGURATION_FILE_DOMAINXML_ISNOT_FOUND=Configuration file domain.xml is not found.
-CONFIGURATION_FILE_DOMAINXML_IS_READONLY=Configuration file domain.xml is read-only.
-DOCUMENT_DOMAINXML_MUST_HAVE_ELEMENT_DOMAIN=Document domain.xml must have element
'domain' as root element.
RUNTIME_IS_REQUIRED=Runtime is required.
SPECIFIED_RUNTIME_DOESNOT_EXIST=Specified runtime does not exist.
SPECIFIED_FOLDER_DOESNOT_EXIST=Specified folder does not exist.
SPECIFIED_FOLDER_ISNOT_JVMHOME=Specified folder is not JVM home.
APPLICATION_IS_ALREADY_REGISTERED=Application {0} is already registered in {1}
APPLICATION_HAS_BEEN_UNREGISTERED_FROM=Application {0} has been unregistered from {1}.
-SERVERS_DIRECTORY_ISNOT_FOUND=Servers directory is not found.
-SERVER_ISNOT_FOUND=Server {0} is not found
SERVER_ISNOT_SELECTED=Server is not selected.
ITEM_ISNOT_REFERENCED=This item is not referenced.
CANCEL=Cancel
@@ -71,11 +60,9 @@
YOU_WANT_TO_DELETE_PAGE_TEMPLATE=Do you want to delete page template {0}?
YOU_WANT_TO_DELETE_FROM_LIBRARYSET=Do you want to delete {0} from library set {1}?
YOU_WANT_TO_DELETE_IMPLEMENTATION=Do you want to delete implementation {0}?
-YOU_WANT_TO_SET_CORRECT_VALUE_NOW=Do you want to set correct value now?
YOU_WANT_TO_DELETE_LIBRARYSET=Do you want to delete library set {0}?
YOU_WANT_TO_DELETE_LIBRARY=Do you want to delete library {0}?
YOU_WANT_TO_DELETE_LINK_TO=Do you want to delete link to
-YOU_WANT_CO_CONVERT_WEBXML=\ Do you want co convert web.xml?
YOU_WANT_TO_REARRANGE_THE_DIAGRAM_ELEMENTS=Are you sure, you want to rearrange the
diagram elements?
CONFIRMATION=Confirmation
CORE_LIBRARY_LOCATION_ISNOT_SET_FOR_VERSION=Core library location is not set for version
{0}.
@@ -92,8 +79,6 @@
PATH_TO_TLD_ISNOT_CORRECT=Path to tld is not correct.
PATH_TO_JVM_IS_EMPTY=Path to JVM is empty.
START_TOMCAT_SERVER=Start Tomcat Server
-START_IN_DEBUG_MODE=Start {0} in Debug Mode
-ROOT_ISNOT_FOUND=J2EE 1.4 SDK root is not found.\n
EITHER_OR_MUST_BE_SET=Either {0} or {1} must be set
YOU_MAY_SET_ONLY_ONE=You may set only one of {0} and {1} attributes
ADD_JSP_BREAKPOINT=Add JSP Breakpoint
@@ -124,28 +109,16 @@
SECURITY_CONSTRAINT=Security Constraint
SET_PROPERTY=Set-property
STRUTS_MODEL=Struts Model
-START_SERVER=Start {0} Server {1}
PRINT=Print
ZOOM=Zoom
ALL=All
SELECT_ALL=Select All
UNSELECT_ALL=Unselect All
-REFRESH=Refresh
-STOP=Stop
-RUNTIME_REFERENCED_HAS_BEEN_REMOVED=Runtime referenced by the server has been removed.
Please create the runtime or select another server.
-RUN_SERVER=Run Server
-RUN=Run
-START=Start
-REFRESH_SERVER=Refresh {0} Server
-CHANGE_TIME_STAMP=Change Timestamp of
-STOP_SERVER=Stop {0} Server
-START_SERVER_IN_DEBUG_MODE=Start {0} Server in Debug Mode: {1}
REDHAT_TAG_LIBRARY_EDITOR=JBoss Tools Tag Library Editor
SERVLET=Servlet
AUTH_CONSTRAINT=Auth Constraint
TAGLIBS=Taglibs
PROPERTY_GROUPS=Property Groups
-JSP_CONFIG=JSP Config
PROPERTY_GROUP=Property Group
PROJECT_EXISTS=Project {0} exists. The wizard will try to make it {1} project.
INITPARAMS=Init Params
@@ -153,8 +126,6 @@
RESOURCE_COLLECTIONS=Resource Collections
LOCALE_ENCODING_MAPPINGS=Locale Encoding Mappings
WELCOME_FILES=Welcome Files
-CONTEXT_IS_ALREADY_REGISTERED_IN_SERVERXML=Context {0} is already registered in
server.xml. Do you want to overwrite it?
-REGISTERING_WEB_CONTEXT_IN_SERVERXML=Registering Web Context in server.xml
YES=Yes
NO=No
ADD_TO_EXISTING_GROUP=Add to Existing Group
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java 2009-04-03
15:41:48 UTC (rev 14500)
+++
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java 2009-04-03
15:59:18 UTC (rev 14501)
@@ -40,23 +40,13 @@
public static String NAME_MUST_BE_SET;
public static String PROJECT_ALREADY_EXISTS_IN_THE_WORKSPACE;
public static String FILE_ISNOT_RECOGNIZED;
- public static String CANNOT_LOAD_WEBDESCRIPTOR;
public static String WEBDESCRIPTOR_FILE_IS_CORRUPTED;
public static String SERVLET_VERSION_WARNING;
public static String SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION;
public static String SAVE_OLD_SERVLET;
- public static String J2EE_ROOT_DIRECTORY_ISNOT_FOUND;
- public static String DOMAINS_DIRECTORY_ISNOT_FOUND;
- public static String DOMAIN_ISNOT_FOUND;
- public static String CONFIGURATION_FILE_DOMAINXML_ISNOT_FOUND;
- public static String CONFIGURATION_FILE_DOMAINXML_IS_READONLY;
- public static String FILE_DOMAINXML_IS_CORRUPTED;
- public static String DOCUMENT_DOMAINXML_MUST_HAVE_ELEMENT_DOMAIN;
public static String RUNTIME_IS_REQUIRED;
public static String SPECIFIED_RUNTIME_DOESNOT_EXIST;
public static String APPLICATION_IS_ALREADY_REGISTERED;
- public static String SERVERS_DIRECTORY_ISNOT_FOUND;
- public static String SERVER_ISNOT_FOUND;
public static String ITEM_ISNOT_REFERENCED;
public static String CANCEL;
public static String YOU_WANT_TO_REARRANGE_THE_DIAGRAM_ELEMENTS;
@@ -105,9 +95,7 @@
public static String PALETTE_ALREADY_CONTAINS_TAB;
public static String PALETTE_ALREADY_CONTAINS_TAB_2P;
public static String PATH_TO_TLD_ISNOT_CORRECT;
- public static String ROOT_ISNOT_FOUND;
public static String START_TOMCAT_SERVER;
- public static String YOU_WANT_TO_SET_CORRECT_VALUE_NOW;
public static String EITHER_OR_MUST_BE_SET;
public static String YOU_MAY_SET_ONLY_ONE;
public static String ADD_JSP_BREAKPOINT;
@@ -142,26 +130,12 @@
public static String SELECT_ALL;
public static String UNSELECT_ALL;
public static String PRINT_PREVIEW;
- public static String REFRESH;
- public static String STOP;
- public static String START_IN_DEBUG_MODE;
- public static String RUNTIME_REFERENCED_HAS_BEEN_REMOVED;
- public static String RUN;
- public static String START;
- public static String RUN_SERVER;
- public static String CANNOT_START_SERVER;
- public static String REFRESH_SERVER;
- public static String CHANGE_TIME_STAMP;
- public static String START_SERVER;
- public static String STOP_SERVER;
- public static String START_SERVER_IN_DEBUG_MODE;
public static String REDHAT_TAG_LIBRARY_EDITOR;
public static String SECURITY_ROLES;
public static String SERVLET;
public static String AUTH_CONSTRAINT;
public static String TAGLIBS;
public static String PROPERTY_GROUPS;
- public static String JSP_CONFIG;
public static String PROPERTY_GROUP;
public static String INITPARAMS;
public static String FILTER;
@@ -169,13 +143,10 @@
public static String SECURITY_CONSTRAINT;
public static String LOCALE_ENCODING_MAPPINGS;
public static String WELCOME_FILES;
- public static String CONTEXT_IS_ALREADY_REGISTERED_IN_SERVERXML;
- public static String REGISTERING_WEB_CONTEXT_IN_SERVERXML;
public static String YES;
public static String NO;
public static String ADD_TO_EXISTING_GROUP;
public static String CREATE_NEW_GROUP;
- public static String YOU_WANT_CO_CONVERT_WEBXML;
public static String WARNING;
public static String PROJECT_EXISTS_IN_WORKSPACE;
public static String JAVA_PROJECT_EXISTS;
Show replies by date