You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/11/28 23:22:35 UTC
svn commit: r349527 [1/2] - in /beehive/trunk/netui:
src/compiler-core/org/apache/beehive/netui/compiler/
test/src/compilerTests/org/apache/beehive/netui/test/compiler/
test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/
test/src/com...
Author: rich
Date: Mon Nov 28 14:21:36 2005
New Revision: 349527
URL: http://svn.apache.org/viewcvs?rev=349527&view=rev
Log:
Added a warning that appears when you override validate() on a class that extends the (deprecated) FormData. If you do this, declarative validation annotations won't work unless you call super.validate().
Also, made some changes to the compiler test framework:
- The file that contains expected warnings/errors had everything concatenated to a single line, with no delimiter between each line. This made it really difficult to figure out what went wrong when there was a diff. In addition, the expected/actual output files were compared by chopping up the single-line output into pieces using ',' as the delimiter (not sure why), then sorting it. I changed all this so that the files contain multiple lines, just like the real compiler output.
- Fixed to clear the warningsorerrors.actual file before each run of apt. Without this, you had to run 'test.clean test.build' before 'compiler.bvt' each time.
tests: bvt in netui (WinXP)
BB: same (linux)
Added:
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf (with props)
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/warningsorerrors.expected
Modified:
beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FormBeanChecker.java
beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties
beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java
beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestPropertyMgr.java
beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestUtil.java
beehive/trunk/netui/test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongLocation/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongPkg/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/Jira389/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/Nested_NewReturnTo/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionMethodWithNonformArg/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNegatives/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNotReturnForward/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionWith2Args/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DeprecatedExceptionHandler/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DuplicateActionForwards/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ExceptionHandlerForward/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardAttrCase/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingNameAttr/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingPath/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardNotInActionOrController/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardRedirect/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardSyntax/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardWithMutualExclusiveAttr/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_InvalidAnnotations/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingBegin/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingForwardJPF/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoActionAnnoForBegin/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoBeginAction/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonNestedWithReturnAction/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonPublicForm/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NotExtendingPageFlow/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_PkgNotMatchDir/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ReadOnlyActionWithForm/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_RedirectNotWithPath/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_SameMethodNameSig/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoActionValidationErrForward/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoBeginAction/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_UseFormBeanNotMatchArgType/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongActionMember/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongControlLocation/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongUseFormBeanValue/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ControlsOverride/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ForwardPath/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/PI_StrutsMerge/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferences/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferencesNested/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/SF_InvalidRelativePath/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/sharedFlowReference1/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/sharedFlowReference2/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/simpleActionMethodActionSameName/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/simpleBeginMethodBeginDuplicate/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/simpleInvalidPathWarning/expectedOutput/warningsorerrors.expected
beehive/trunk/netui/test/src/compilerTests/testsuite/simpleReadOnlyUseFormBeanWarning/expectedOutput/warningsorerrors.expected
Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FormBeanChecker.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FormBeanChecker.java?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FormBeanChecker.java (original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FormBeanChecker.java Mon Nov 28 14:21:36 2005
@@ -25,7 +25,11 @@
import org.apache.beehive.netui.compiler.typesystem.declaration.MemberDeclaration;
import org.apache.beehive.netui.compiler.typesystem.declaration.MethodDeclaration;
import org.apache.beehive.netui.compiler.typesystem.declaration.Modifier;
+import org.apache.beehive.netui.compiler.typesystem.declaration.ParameterDeclaration;
+import org.apache.beehive.netui.compiler.typesystem.declaration.TypeDeclaration;
import org.apache.beehive.netui.compiler.typesystem.env.AnnotationProcessorEnvironment;
+import org.apache.beehive.netui.compiler.typesystem.type.DeclaredType;
+import org.apache.beehive.netui.compiler.typesystem.type.TypeInstance;
import java.util.Map;
@@ -45,10 +49,8 @@
GetterValidatablePropertyGrammar validatablePropertyGrammar = new GetterValidatablePropertyGrammar();
boolean isFormBeanClass = CompilerUtils.getAnnotation( jclass, FORM_BEAN_TAG_NAME, true ) != null;
- //
// Look for ValidationField annotations on the methods; if there are some present, then we consider this
// a form bean class, even if it's not annotated as such.
- //
MethodDeclaration[] methods = CompilerUtils.getClassMethods( jclass, null );
for ( int i = 0; i < methods.length; i++ )
@@ -71,11 +73,10 @@
*/
}
- //
- // Make sure ActionForm subclasses are public static, and that they have default
- // constructors.
- //
- if ( isFormBeanClass || CompilerUtils.isAssignableFrom( STRUTS_FORM_CLASS_NAME, jclass, getEnv() ) )
+ AnnotationProcessorEnvironment env = getEnv();
+
+ // Make sure ActionForm subclasses are public static, and that they have default constructors.
+ if ( isFormBeanClass || CompilerUtils.isAssignableFrom( STRUTS_FORM_CLASS_NAME, jclass, env ) )
{
if ( jclass.getDeclaringType() != null && ! jclass.hasModifier( Modifier.STATIC ) )
{
@@ -90,6 +91,40 @@
if ( ! CompilerUtils.hasDefaultConstructor( jclass ) )
{
getDiagnostics().addError( jclass, "error.form-no-default-constructor" );
+ }
+ }
+
+
+ // Check to see if this class extends the (deprecated) FormData class and overrides its validate() method.
+ // If so, then declarative validation annotations won't work unless the override calls super.validate().
+ // Print a warning describing this behavior and suggesting implementing Validatable instead.
+ methods = jclass.getMethods();
+ if (CompilerUtils.isAssignableFrom(PAGEFLOW_FORM_CLASS_NAME, jclass, env)) {
+ for (int i = 0; i < methods.length; i++) {
+
+ MethodDeclaration method = methods[i];
+ if (method.getSimpleName().equals("validate")) {
+ ParameterDeclaration[] params = method.getParameters();
+
+ if (params.length == 2) {
+ TypeInstance param1Type = params[0].getType();
+ TypeInstance param2Type = params[1].getType();
+
+ if (param1Type instanceof DeclaredType && param2Type instanceof DeclaredType) {
+ TypeDeclaration param1Decl = ((DeclaredType) param1Type).getDeclaration();
+ TypeDeclaration param2Decl = ((DeclaredType) param2Type).getDeclaration();
+ TypeDeclaration actionMappingDecl = env.getTypeDeclaration(STRUTS_ACTION_MAPPING_CLASS_NAME);
+ TypeDeclaration httpRequestDecl = env.getTypeDeclaration(HTTP_REQUEST_CLASS_NAME);
+
+ if (param1Decl != null && CompilerUtils.typesAreEqual(param1Decl, actionMappingDecl)
+ && param2Decl != null && CompilerUtils.typesAreEqual(param2Decl, httpRequestDecl)) {
+ getDiagnostics().addWarning(method, "warning.formdata-override-validate",
+ jclass.getQualifiedName(), PAGEFLOW_FORM_CLASS_NAME,
+ PAGEFLOW_VALIDATABLE_INTERFACE_NAME);
+ }
+ }
+ }
+ }
}
}
Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java (original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java Mon Nov 28 14:21:36 2005
@@ -191,7 +191,9 @@
public static final String STRUTS_PACKAGE = "org.apache.struts";
public static final String FORWARD_CLASS_NAME = PAGEFLOW_PACKAGE + ".Forward";
public static final String STRUTS_FORM_CLASS_NAME = STRUTS_PACKAGE + ".action.ActionForm";
+ public static final String STRUTS_ACTION_MAPPING_CLASS_NAME = STRUTS_PACKAGE + ".action.ActionMapping";
public static final String PAGEFLOW_FORM_CLASS_NAME = PAGEFLOW_PACKAGE + ".FormData";
+ public static final String PAGEFLOW_VALIDATABLE_INTERFACE_NAME = PAGEFLOW_PACKAGE + ".Validatable";
public static final String BEA_XMLOBJECT_CLASS_NAME = "com.bea.xml.XmlObject";
public static final String APACHE_XMLOBJECT_CLASS_NAME = "org.apache.xmlbeans.XmlObject";
public static final String XML_FORM_CLASS_NAME = PAGEFLOW_PACKAGE + ".internal.XmlBeanActionForm";
@@ -200,6 +202,7 @@
public static final String THROWABLE_CLASS_NAME = Throwable.class.getName();
public static final String OBJECT_CLASS_NAME = Object.class.getName();
public static final String SERIALIZABLE_CLASS_NAME = "java.io.Serializable";
+ public static final String HTTP_REQUEST_CLASS_NAME = "javax.servlet.http.HttpServletRequest";
public static final String NAVIGATE_TO_CURRENT_PAGE_STR = "currentPage";
public static final String NAVIGATE_TO_PREVIOUS_PAGE_STR = "previousPage";
Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties (original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties Mon Nov 28 14:21:36 2005
@@ -217,3 +217,7 @@
warning.could-not-read-web-xml = Could not find/read web.xml.
error.only-valid-on-pageflow = The "{0}" attribute may only be used on a class that extends {1}.
+warning.formdata-override-validate = \
+Class {0} extends {1} and overrides its validate method. When doing this, super.validate must be called in order for \
+declarative validation annotations on this class to work. Implementing the {2} interface instead of overriding validate \
+avoids this issue.
Modified: beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java (original)
+++ beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java Mon Nov 28 14:21:36 2005
@@ -149,7 +149,7 @@
String ls_str;
File SystemErr = new File(webappRoot + File.separatorChar + TestPropertyMgr.PREFIX_WARNINGS_OR_ERRORS
+ TestPropertyMgr.EXT_ACTUAL);
- FileWriter errorsFw = new FileWriter(SystemErr, true);
+ FileWriter errorsFw = new FileWriter(SystemErr);
BufferedReader aptErrBufferedReader = null;
try {
@@ -159,6 +159,7 @@
try {
while ((ls_str = aptErrBufferedReader.readLine()) != null) {
errorsFw.write(ls_str);
+ errorsFw.write('\n');
}
}
catch (IOException eWhile) {
Modified: beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestPropertyMgr.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestPropertyMgr.java?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestPropertyMgr.java (original)
+++ beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestPropertyMgr.java Mon Nov 28 14:21:36 2005
@@ -157,7 +157,8 @@
String classPath = System.getProperty(PROPERTY_CLASS_PATH, UNSET);
if (classPath.equals(UNSET) || classPath.length() == 0 || classPath.contains("${" + PROPERTY_CLASS_PATH + "}"))
return null;
- else return classPath;
+ // the string replacement of "<DEFAULT>" below is simply there to help run this test in an IDE
+ else return classPath.replace("<DEFAULT>", System.getProperty("java.class.path"));
}
public static Boolean getJPFCompilerSwitch() {
Modified: beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestUtil.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestUtil.java?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestUtil.java (original)
+++ beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/TestUtil.java Mon Nov 28 14:21:36 2005
@@ -49,15 +49,15 @@
try {
lineReader = new LineNumberReader(new FileReader(file));
String line = "";
+ stringSet = new TreeSet();
while (line != null) {
line = lineReader.readLine();
if (line != null) {
line = processLine(line, localize, trim, removeXMLComment, removeJpfLineNumbers, outputDir);
- fileInString.append(line);
+ stringSet.add(line);
}
}
- stringSet = parseList(fileInString.toString(), "^");
}
catch (IOException ioe) {
throw new PageFlowCompilerTestException("Failed to read file: " + file.getName(), ioe);
@@ -152,6 +152,7 @@
else return failMsg.toString();
}
+
/**
* Return a Set of Strings, tokenized by the delimiter.
*
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/GA_DeprecationWarning/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-Note: [LOCAL_PATH]/WEB-INF\src\WEB-INF\.tmpbeansrc\global\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: [LOCAL_PATH]/WEB-INF\src\WEB-INF\.tmpbeansrc\global\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: [LOCAL_PATH]/WEB-INF\.tmpbeansrc\WEB-INF\src\global\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: [LOCAL_PATH]/WEB-INF/.tmpbeansrc/WEB-INF\src\global\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.
\ No newline at end of file
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\WEB-INF\src\global\Global.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\WEB-INF\src\global\Global.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongLocation/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongLocation/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongLocation/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongLocation/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,13 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:34: warning: File "Page1.jsp" could not be found in the web application. protected Forward page1() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:49: warning: File "Page2.jsp" could not be found in the web application. protected Forward page2() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:22: Global.app must be in the /WEB-INF/src/global directory.public class Global extends GlobalApp ^Note: [LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.1 error2 warnings
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:34: warning: File "Page1.jsp" could not be found in the web application.
+ protected Forward page1()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:49: warning: File "Page2.jsp" could not be found in the web application.
+ protected Forward page2()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java:22: Global.app must be in the /WEB-INF/src/global directory.
+public class Global extends GlobalApp
+ ^
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongLocation\Global.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
+1 error
+2 warnings
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongPkg/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongPkg/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongPkg/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/GA_WrongPkg/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,16 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:30: warning: File "Page1.jsp" could not be found in the web application. protected Forward begin() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:45: warning: File "Page2.jsp" could not be found in the web application. protected Forward page2() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:18: The package must be "global".public class Global extends GlobalApp ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:18: Global.app must be in the /WEB-INF/src/global directory.public class Global extends GlobalApp ^Note: [LOCAL_PATH]/WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java uses or overrides a deprecated API.Note: Recompile with -Xlint:deprecation for details.2 errors2 warnings
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:30: warning: File "Page1.jsp" could not be found in the web application.
+ protected Forward begin()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:45: warning: File "Page2.jsp" could not be found in the web application.
+ protected Forward page2()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:18: The package must be "global".
+public class Global extends GlobalApp
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java:18: Global.app must be in the /WEB-INF/src/global directory.
+public class Global extends GlobalApp
+ ^
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\GA_WrongPkg\Global.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
+2 errors
+2 warnings
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira389/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira389/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira389/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira389/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\Jira389\Controller.java:20: Attribute "bundlePath" must be present.public class Controller extends PageFlowController ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\Jira389\Controller.java:20: Attribute "bundlePath" must be present.
+public class Controller extends PageFlowController
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/Nested_NewReturnTo/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/Nested_NewReturnTo/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Nested_NewReturnTo/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Nested_NewReturnTo/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\Nested_NewReturnTo\Controller.java:104: warning: The "page" value is deprecated. protected Forward action5() ^1 warning
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\Nested_NewReturnTo\Controller.java:104: warning: The "page" value is deprecated.
+ protected Forward action5()
+ ^
+1 warning
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionMethodWithNonformArg/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionMethodWithNonformArg/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionMethodWithNonformArg/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionMethodWithNonformArg/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionMethodWithNonformArg\Controller.java:36: Type int is not valid as the form bean for an action. protected Forward page1(int inForm) ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionMethodWithNonformArg\Controller.java:36: Type int is not valid as the form bean for an action.
+ protected Forward page1(int inForm)
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNegatives/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNegatives/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNegatives/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNegatives/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,22 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:37: ')' expected forwards = { ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: illegal start of type } ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:36: cannot find symbolsymbol : method name()location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Action name="InvalidHere" ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: warning: Member data should be Serializable or transient. } ^1 warning[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:37: ')' expected forwards = { ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: illegal start of type } ^2 errors
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:37: ')' expected
+ forwards = {
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: illegal start of type
+ }
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:36: cannot find symbol
+symbol : method name()
+location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Action
+ name="InvalidHere"
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: warning: Member data should be Serializable or transient.
+ }
+ ^
+1 warning
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:37: ')' expected
+ forwards = {
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNegatives\Controller.java:46: illegal start of type
+ }
+ ^
+2 errors
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNotReturnForward/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNotReturnForward/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNotReturnForward/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionNotReturnForward/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionNotReturnForward\Controller.java:47: Expected a return type of org.apache.beehive.netui.pageflow.Forward. protected String page2() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionNotReturnForward\Controller.java:47: Expected a return type of org.apache.beehive.netui.pageflow.Forward.
+ protected String page2()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionWith2Args/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionWith2Args/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionWith2Args/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ActionWith2Args/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ActionWith2Args\Controller.java:53: Expected a single argument. protected Forward page1(TempForm inForm, String inString) ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ActionWith2Args\Controller.java:53: Expected a single argument.
+ protected Forward page1(TempForm inForm, String inString)
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DeprecatedExceptionHandler/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DeprecatedExceptionHandler/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DeprecatedExceptionHandler/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DeprecatedExceptionHandler/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_DeprecatedExceptionHandler\Controller.java:60: warning: This ExceptionHandler method signature is deprecated. Use the new signature: (<exception-type>, String actionName, String message, Object formBean). public Forward exceptionHandler(Throwable e ^1 warning
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_DeprecatedExceptionHandler\Controller.java:60: warning: This ExceptionHandler method signature is deprecated. Use the new signature: (<exception-type>, String actionName, String message, Object formBean).
+ public Forward exceptionHandler(Throwable e
+ ^
+1 warning
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DuplicateActionForwards/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DuplicateActionForwards/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DuplicateActionForwards/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_DuplicateActionForwards/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_DuplicateActionForwards\Controller.java:38: Duplicate Forward tag with name="pg1". protected Forward page1() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_DuplicateActionForwards\Controller.java:38: Duplicate Forward tag with name="pg1".
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ExceptionHandlerForward/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ExceptionHandlerForward/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ExceptionHandlerForward/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ExceptionHandlerForward/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,22 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt1 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt2.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt1 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt3.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt2 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt1.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt2 co
ntains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt3.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt3 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt1.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt3 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt2.public class Controller extends PageFlowController ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:46: Duplicate Forward tag on method begin (referenced from Catch) with name="gotoError". public Forward begin() ^7 errors
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt1 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt2.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt1 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt3.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt2 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt1.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt2 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt3.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt3 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt1.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:37: The specified exception-handler method handleIt3 contains a forward named "gotoError" which conflicts with a forward in exception-handler handleIt2.
+public class Controller extends PageFlowController
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ExceptionHandlerForward\Controller.java:46: Duplicate Forward tag on method begin (referenced from Catch) with name="gotoError".
+ public Forward begin()
+ ^
+7 errors
Added: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf?rev=349527&view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf (added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf Mon Nov 28 14:21:36 2005
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package PF_FormDataOverrideValidateWarning;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.FormData;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.struts.action.ActionErrors;
+import org.apache.struts.action.ActionError;
+import org.apache.struts.action.ActionMapping;
+import javax.servlet.http.HttpServletRequest;
+
+@Jpf.Controller()
+public abstract class Controller extends PageFlowController
+{
+ public static class MyForm extends FormData
+ {
+ private String _foo;
+
+ public String getFoo()
+ {
+ return _foo;
+ }
+
+ public void setFoo(String foo)
+ {
+ _foo = foo;
+ }
+
+ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
+ {
+ return null;
+ }
+ }
+}
Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/PF_FormDataOverrideValidateWarning/Controller.jpf
------------------------------------------------------------------------------
svn:eol-style = native
Added: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/warningsorerrors.expected?rev=349527&view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/warningsorerrors.expected (added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_FormDataOverrideValidateWarning/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -0,0 +1,8 @@
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_FormDataOverrideValidateWarning\Controller.java:46: warning: Class PF_FormDataOverrideValidateWarning.Controller.MyForm extends org.apache.beehive.netui.pageflow.FormData and overrides its validate method. When doing this, super.validate must be called in order for declarative validation annotations on this class to work. Implementing the org.apache.beehive.netui.pageflow.Validatable interface instead of overriding validate avoids this issue.
+ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
+ ^
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_FormDataOverrideValidateWarning\Controller.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
+1 warning
+Note: [LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_FormDataOverrideValidateWarning\Controller.java uses or overrides a deprecated API.
+Note: Recompile with -Xlint:deprecation for details.
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardAttrCase/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardAttrCase/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardAttrCase/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardAttrCase/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,28 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:20: cannot find symbolsymbol : method Name()location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Forward @Jpf.Forward(Name = "pg1", path = "Pg1.jsp") ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:30: cannot find symbolsymbol : variable TRUElocation: class PF_ForwardAttrCase.Controller @Jpf.Forward(name = "pg1", redirect = TRUE) ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:40: cannot find symbolsymbol : method Redirect()location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Forward @Jpf.Forward(name = "pg1", Redirect = true) ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:23: Attribute "name" must be present. protected Forward begin() ^[LOCA
L_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:33: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present. protected Forward page1() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:33: Attribute "redirect" may only be present when one of attributes "path", "navigateTo", or "action" is present. protected Forward page1() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:43: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present. protected Forward page2() ^4 errors
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:20: cannot find symbol
+symbol : method Name()
+location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Forward
+ @Jpf.Forward(Name = "pg1", path = "Pg1.jsp")
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:30: cannot find symbol
+symbol : variable TRUE
+location: class PF_ForwardAttrCase.Controller
+ @Jpf.Forward(name = "pg1", redirect = TRUE)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:40: cannot find symbol
+symbol : method Redirect()
+location: @interface org.apache.beehive.netui.pageflow.annotations.Jpf.Forward
+ @Jpf.Forward(name = "pg1", Redirect = true)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:23: Attribute "name" must be present.
+ protected Forward begin()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:33: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present.
+ protected Forward page1()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:33: Attribute "redirect" may only be present when one of attributes "path", "navigateTo", or "action" is present.
+ protected Forward page1()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardAttrCase\Controller.java:43: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present.
+ protected Forward page2()
+ ^
+4 errors
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingNameAttr/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingNameAttr/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingNameAttr/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingNameAttr/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardMissingNameAttr\Controller.java:34: Attribute "name" must be present. protected Forward page1() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardMissingNameAttr\Controller.java:34: Attribute "name" must be present.
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingPath/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingPath/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingPath/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardMissingPath/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardMissingPath\Controller.java:35: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present. protected Forward page1() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardMissingPath\Controller.java:35: At least one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present.
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardNotInActionOrController/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardNotInActionOrController/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardNotInActionOrController/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardNotInActionOrController/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardNotInActionOrController\Controller.java:29: annotation type not applicable to this kind of declaration @Jpf.Forward(name = "pg2", path = "Pg2.jsp") ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardNotInActionOrController\Controller.java:29: annotation type not applicable to this kind of declaration
+ @Jpf.Forward(name = "pg2", path = "Pg2.jsp")
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardRedirect/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardRedirect/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardRedirect/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardRedirect/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,11 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardRedirect\Controller.java:37: cannot find symbolsymbol : variable badValuelocation: class PF_ForwardRedirect.Controller redirect = badValue) ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardRedirect\Controller.java:37: cannot find symbol
+symbol : variable badValue
+location: class PF_ForwardRedirect.Controller
+ redirect = badValue)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardRedirect\Controller.java:37: cannot find symbol
+symbol : variable badValue
+location: class PF_ForwardRedirect.Controller
+ redirect = badValue)
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardSyntax/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardSyntax/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardSyntax/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardSyntax/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,7 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardSyntax\Controller.java:38: ')' expected myattribute = "testing") ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardSyntax\Controller.java:38: ')' expected myattribute = "testing") ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardSyntax\Controller.java:38: ')' expected
+ myattribute = "testing")
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardSyntax\Controller.java:38: ')' expected
+ myattribute = "testing")
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardWithMutualExclusiveAttr/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardWithMutualExclusiveAttr/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardWithMutualExclusiveAttr/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ForwardWithMutualExclusiveAttr/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ForwardWithMutualExclusiveAttr\Controller.java:39: Only one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" may be present. protected Forward page1() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ForwardWithMutualExclusiveAttr\Controller.java:39: Only one of attributes "path", "tilesDefinition", "returnAction", "navigateTo", or "action" may be present.
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_InvalidAnnotations/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_InvalidAnnotations/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_InvalidAnnotations/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_InvalidAnnotations/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,11 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_InvalidAnnotations\Controller.java:35: cannot find symbolsymbol : variable blahlocation: class PF_InvalidAnnotations.Controller readOnly = blah, ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_InvalidAnnotations\Controller.java:35: cannot find symbolsymbol : variable blahlocation: class PF_InvalidAnnotations.Controller readOnly = blah, ^1 error
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_InvalidAnnotations\Controller.java:35: cannot find symbol
+symbol : variable blah
+location: class PF_InvalidAnnotations.Controller
+ readOnly = blah,
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_InvalidAnnotations\Controller.java:35: cannot find symbol
+symbol : variable blah
+location: class PF_InvalidAnnotations.Controller
+ readOnly = blah,
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingBegin/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingBegin/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingBegin/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingBegin/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_MissingBegin\Controller.java:17: There is no begin action defined for this PageFlowController.public class Controller extends PageFlowController ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_MissingBegin\Controller.java:17: There is no begin action defined for this PageFlowController.
+public class Controller extends PageFlowController
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingForwardJPF/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingForwardJPF/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingForwardJPF/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_MissingForwardJPF/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_MissingForwardJPF\Controller.java:21: warning: File "/DoesNotExist.jpf" could not be found in the web application. protected Forward begin() ^1 warning
\ No newline at end of file
+[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_MissingForwardJPF\Controller.java:21: warning: File "/DoesNotExist.jpf" could not be found in the web application. protected Forward begin() ^1 warning
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoActionAnnoForBegin/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoActionAnnoForBegin/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoActionAnnoForBegin/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoActionAnnoForBegin/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_NoActionAnnoForBegin\Controller.java:16: There is no begin action defined for this PageFlowController.public class Controller extends PageFlowController ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_NoActionAnnoForBegin\Controller.java:16: There is no begin action defined for this PageFlowController.
+public class Controller extends PageFlowController
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoBeginAction/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoBeginAction/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoBeginAction/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NoBeginAction/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_NoBeginAction\Controller.java:17: There is no begin action defined for this PageFlowController.public class Controller extends PageFlowController ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_NoBeginAction\Controller.java:17: There is no begin action defined for this PageFlowController.
+public class Controller extends PageFlowController
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonNestedWithReturnAction/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonNestedWithReturnAction/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonNestedWithReturnAction/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonNestedWithReturnAction/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_NonNestedWithReturnAction\Controller.java:38: Attribute "returnAction" is only valid in a nested PageFlowController. protected Forward page1() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_NonNestedWithReturnAction\Controller.java:38: Attribute "returnAction" is only valid in a nested PageFlowController.
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonPublicForm/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonPublicForm/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonPublicForm/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NonPublicForm/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_NonPublicForm\Controller.java:22: Argument type PF_NonPublicForm.Controller.MyForm is not public. protected Forward begin(MyForm form) ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_NonPublicForm\Controller.java:22: Argument type PF_NonPublicForm.Controller.MyForm is not public.
+ protected Forward begin(MyForm form)
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NotExtendingPageFlow/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NotExtendingPageFlow/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NotExtendingPageFlow/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_NotExtendingPageFlow/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_NotExtendingPageFlow\Controller.java:16: The Controller annotation is not valid on this class. The class should extend org.apache.beehive.netui.pageflow.PageFlowController or org.apache.beehive.netui.pageflow.SharedFlowController.public class Controller ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_NotExtendingPageFlow\Controller.java:16: The Controller annotation is not valid on this class. The class should extend org.apache.beehive.netui.pageflow.PageFlowController or org.apache.beehive.netui.pageflow.SharedFlowController.
+public class Controller
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_PkgNotMatchDir/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_PkgNotMatchDir/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_PkgNotMatchDir/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_PkgNotMatchDir/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,11 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:25: warning: File "Pg1.jsp" could not be found in the web application. protected Forward begin() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:36: warning: File "Pg1.jsp" could not be found in the web application. protected Forward page1() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:17: The package does not match the directory [LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir.public class Controller extends PageFlowController ^1 error2 warnings
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:25: warning: File "Pg1.jsp" could not be found in the web application.
+ protected Forward begin()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:36: warning: File "Pg1.jsp" could not be found in the web application.
+ protected Forward page1()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir\Controller.java:17: The package does not match the directory [LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_PkgNotMatchDir.
+public class Controller extends PageFlowController
+ ^
+1 error
+2 warnings
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ReadOnlyActionWithForm/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ReadOnlyActionWithForm/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ReadOnlyActionWithForm/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_ReadOnlyActionWithForm/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,8 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ReadOnlyActionWithForm\Controller.java:41: The "useFormBean" attribute may not be used on read-only actions. protected Forward action1(Form1 inForm1) ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_ReadOnlyActionWithForm\Controller.java:41: warning: This action has the readOnly attribute set to true, but the useFormBean attribute may cause the value of member field _form1 to be modified. protected Forward action1(Form1 inForm1) ^1 error1 warning
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ReadOnlyActionWithForm\Controller.java:41: The "useFormBean" attribute may not be used on read-only actions.
+ protected Forward action1(Form1 inForm1)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_ReadOnlyActionWithForm\Controller.java:41: warning: This action has the readOnly attribute set to true, but the useFormBean attribute may cause the value of member field _form1 to be modified.
+ protected Forward action1(Form1 inForm1)
+ ^
+1 error
+1 warning
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_RedirectNotWithPath/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_RedirectNotWithPath/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_RedirectNotWithPath/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_RedirectNotWithPath/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_RedirectNotWithPath\Controller.java:39: Attribute "redirect" may only be present when one of attributes "path", "navigateTo", or "action" is present. protected Forward page1() ^1 error
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_RedirectNotWithPath\Controller.java:39: Attribute "redirect" may only be present when one of attributes "path", "navigateTo", or "action" is present.
+ protected Forward page1()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_SameMethodNameSig/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_SameMethodNameSig/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_SameMethodNameSig/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_SameMethodNameSig/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,7 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_SameMethodNameSig\Controller.java:47: page2() is already defined in PF_SameMethodNameSig.Controller protected Forward page2() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_SameMethodNameSig\Controller.java:47: page2() is already defined in PF_SameMethodNameSig.Controller protected Forward page2() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_SameMethodNameSig\Controller.java:47: page2() is already defined in PF_SameMethodNameSig.Controller
+ protected Forward page2()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_SameMethodNameSig\Controller.java:47: page2() is already defined in PF_SameMethodNameSig.Controller
+ protected Forward page2()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoActionValidationErrForward/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoActionValidationErrForward/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoActionValidationErrForward/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoActionValidationErrForward/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_TwoActionValidationErrForward\Controller.java:31: duplicate annotation member value validationErrorForward in org.apache.beehive.netui.pageflow.annotations.Jpf.Action validationErrorForward=@Jpf.Forward(name="failure2", navigateTo=Jpf.NavigateTo.previousPage), ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_TwoActionValidationErrForward\Controller.java:31: duplicate annotation member value validationErrorForward in org.apache.beehive.netui.pageflow.annotations.Jpf.Action
+ validationErrorForward=@Jpf.Forward(name="failure2", navigateTo=Jpf.NavigateTo.previousPage),
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoBeginAction/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoBeginAction/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoBeginAction/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_TwoBeginAction/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,7 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_TwoBeginAction\Controller.java:35: begin() is already defined in PF_TwoBeginAction.Controller protected Forward begin() ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_TwoBeginAction\Controller.java:35: begin() is already defined in PF_TwoBeginAction.Controller protected Forward begin() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_TwoBeginAction\Controller.java:35: begin() is already defined in PF_TwoBeginAction.Controller
+ protected Forward begin()
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_TwoBeginAction\Controller.java:35: begin() is already defined in PF_TwoBeginAction.Controller
+ protected Forward begin()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_UseFormBeanNotMatchArgType/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_UseFormBeanNotMatchArgType/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_UseFormBeanNotMatchArgType/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_UseFormBeanNotMatchArgType/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,7 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_UseFormBeanNotMatchArgType\Controller.java:44: The useFormBean attribute points to a member of type PF_UseFormBeanNotMatchArgType.Controller.FormTwo, which requires that this action method accept an argument of type PF_UseFormBeanNotMatchArgType.Controller.FormTwo. public Forward action1(FormOne inForm) ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_UseFormBeanNotMatchArgType\Controller.java:57: The useFormBean attribute points to a member of type PF_UseFormBeanNotMatchArgType.Controller.FormOne, which requires that this action method accept an argument of type PF_UseFormBeanNotMatchArgType.Controller.FormOne. public Forward action2(FormTwo inForm) ^2 errors
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_UseFormBeanNotMatchArgType\Controller.java:44: The useFormBean attribute points to a member of type PF_UseFormBeanNotMatchArgType.Controller.FormTwo, which requires that this action method accept an argument of type PF_UseFormBeanNotMatchArgType.Controller.FormTwo.
+ public Forward action1(FormOne inForm)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_UseFormBeanNotMatchArgType\Controller.java:57: The useFormBean attribute points to a member of type PF_UseFormBeanNotMatchArgType.Controller.FormOne, which requires that this action method accept an argument of type PF_UseFormBeanNotMatchArgType.Controller.FormOne.
+ public Forward action2(FormTwo inForm)
+ ^
+2 errors
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongActionMember/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongActionMember/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongActionMember/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongActionMember/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_WrongActionMember\Controller.java:38: annotation type not applicable to this kind of declaration nested = true) ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_WrongActionMember\Controller.java:38: annotation type not applicable to this kind of declaration
+ nested = true)
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongControlLocation/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongControlLocation/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongControlLocation/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongControlLocation/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_WrongControlLocation\Controller.java:37: annotation type not applicable to this kind of declaration @org.apache.beehive.controls.api.bean.Control() ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_WrongControlLocation\Controller.java:37: annotation type not applicable to this kind of declaration
+ @org.apache.beehive.controls.api.bean.Control()
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongUseFormBeanValue/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongUseFormBeanValue/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongUseFormBeanValue/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PF_WrongUseFormBeanValue/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,7 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_WrongUseFormBeanValue\Controller.java:45: Field BlahBlah does not exist. public Forward action1(FormOne inForm) ^[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PF_WrongUseFormBeanValue\Controller.java:58: The useFormBean attribute points to a member of type PF_WrongUseFormBeanValue.Controller.FormOne, which requires that this action method accept an argument of type PF_WrongUseFormBeanValue.Controller.FormOne. public Forward action2() ^2 errors
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_WrongUseFormBeanValue\Controller.java:45: Field BlahBlah does not exist.
+ public Forward action1(FormOne inForm)
+ ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PF_WrongUseFormBeanValue\Controller.java:58: The useFormBean attribute points to a member of type PF_WrongUseFormBeanValue.Controller.FormOne, which requires that this action method accept an argument of type PF_WrongUseFormBeanValue.Controller.FormOne.
+ public Forward action2()
+ ^
+2 errors
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ControlsOverride/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ControlsOverride/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ControlsOverride/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ControlsOverride/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PI_ControlsOverride\ControlsController.java:17: This control field conflicts with another of the same name in superclass PI_ControlsOverride.parent.ControlsController. protected GreetingsControlBean myControl; ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PI_ControlsOverride\ControlsController.java:17: This control field conflicts with another of the same name in superclass PI_ControlsOverride.parent.ControlsController.
+ protected GreetingsControlBean myControl;
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ForwardPath/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ForwardPath/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ForwardPath/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PI_ForwardPath/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PI_ForwardPath\Controller.java:12: warning: File "index.jsp" (reference inherited from a Jpf.Forward annotation on method begin in PI_ForwardPath.parent.ParentFlowController) could not be found. To inherit local paths automatically, set inheritLocalPaths to true on @Jpf.Controller.public class Controller extends PI_ForwardPath.parent.ParentFlowController ^1 warning
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PI_ForwardPath\Controller.java:12: warning: File "index.jsp" (reference inherited from a Jpf.Forward annotation on method begin in PI_ForwardPath.parent.ParentFlowController) could not be found. To inherit local paths automatically, set inheritLocalPaths to true on @Jpf.Controller.
+public class Controller extends PI_ForwardPath.parent.ParentFlowController
+ ^
+1 warning
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/PI_StrutsMerge/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/PI_StrutsMerge/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/PI_StrutsMerge/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/PI_StrutsMerge/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\PI_StrutsMerge\parent\Controller.java:12: File "struts4merge.xml" (reference inherited from a Jpf.Controller annotation on PI_StrutsMerge.parent.Controller) could not be found. To inherit local paths automatically, set inheritLocalPaths to true on @Jpf.Controller.public class Controller extends PageFlowController ^1 error
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\PI_StrutsMerge\parent\Controller.java:12: File "struts4merge.xml" (reference inherited from a Jpf.Controller annotation on PI_StrutsMerge.parent.Controller) could not be found. To inherit local paths automatically, set inheritLocalPaths to true on @Jpf.Controller.
+public class Controller extends PageFlowController
+ ^
+1 error
Modified: beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferences/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferences/expectedOutput/warningsorerrors.expected?rev=349527&r1=349526&r2=349527&view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferences/expectedOutput/warningsorerrors.expected (original)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/SF_ImplicitReferences/expectedOutput/warningsorerrors.expected Mon Nov 28 14:21:36 2005
@@ -1 +1,4 @@
-[LOCAL_PATH]/WEB-INF\.tmpbeansrc\SF_ImplicitReferences\Controller.java:21: warning: Field sfRef is of a type that extends org.apache.beehive.netui.pageflow.SharedFlowController, but it has no @Jpf.SharedFlowField annotation. It will not be initialized automatically. private SF_ImplicitReferences.SharedFlow sfRef; ^1 warning
\ No newline at end of file
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\SF_ImplicitReferences\Controller.java:21: warning: Field sfRef is of a type that extends org.apache.beehive.netui.pageflow.SharedFlowController, but it has no @Jpf.SharedFlowField annotation. It will not be initialized automatically.
+ private SF_ImplicitReferences.SharedFlow sfRef;
+ ^
+1 warning