You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Julie Zhuo (JIRA)" <be...@incubator.apache.org> on 2004/11/10 04:35:23 UTC
[jira] Created: (BEEHIVE-72) Webapp build warning
Webapp build warning
--------------------
Key: BEEHIVE-72
URL: http://nagoya.apache.org/jira/browse/BEEHIVE-72
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1Alpha
Reporter: Julie Zhuo
Priority: Minor
Repro,
1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
2. Start the tomcat
3. Follow the page flow tutorial build and deploy the webapp the first time using,
ant
-f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
-Dcontext.path=pageflow_tutorial
build.webapp
deploy
Notice it get successfully done.
4. Do an undeploy by
ant
-f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
-Dcontext.path=pageflow_tutorial
undeploy
5. Do an webapp build by,
ant
-f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
build.webapp
It produce the following,
D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
Buildfile: ant\buildWebapp.xml
build.webapp:
[delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
\.tmpbeansrc
[xmlbeanbuild] Could not find any xsd or wsdl files to process.
[echo] ========== Compile Java sources in WEB-INF/src, including controls =
=========
[echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
pha-snapshot/lib/netui/beehive-netui-compiler.jar
[echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
apshot/lib/controls/controls.jar
[mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
eansrc
[echo] ========== Compile Page Flows ==========
[apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
\WEB-INF\classes
[apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
in the web application.
[apt] public Forward home()
[apt] ^
[apt] 1 warning
[echo] Copy all .properties files
[echo] Copy all .xml files
BUILD SUCCESSFUL
Total time: 3 seconds
6. Continue to deploy by
ant
-f %BEEHIVE_HOME%\ant\buildWebapp.xml
-Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
-Dcontext.path=pageflow_tutorial
deploy
Notice, it will deploy OK and the webapp runs OK.
I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-72) Webapp build warning
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ http://nagoya.apache.org/jira/browse/BEEHIVE-72?page=history ]
Rich Feit updated BEEHIVE-72:
-----------------------------
Assign To: Rich Feit
I have a local fix for this. The patch is simply:
--- netui/src/compiler/org/apache/beehive/netui/compiler/grammar/WebappPathType.java (revision 57114)
+++ netui/src/compiler/org/apache/beehive/netui/compiler/grammar/WebappPathType.java (working copy)
@@ -120,9 +120,12 @@
{
TypeDeclaration type = CompilerUtils.inferTypeFromPath( filePath, getEnv() );
fileToCheck = type != null ? CompilerUtils.getOriginalFile( type ) : null;
- if ( fileToCheck == null ) fileExists = false;
+
+ // Note that if we can't infer the file from the type, we'll fall through to the next case, where
+ // we actually look for the file in the webapp.
}
- else
+
+ if ( fileToCheck == null )
{
File webappRoot = getWebFilesRoot( jpfFile, true );
fileToCheck = new File( webappRoot + filePath );
> Webapp build warning
> --------------------
>
> Key: BEEHIVE-72
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-72
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Alpha
> Reporter: Julie Zhuo
> Assignee: Rich Feit
> Priority: Minor
>
> Repro,
> 1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
> 2. Start the tomcat
> 3. Follow the page flow tutorial build and deploy the webapp the first time using,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> build.webapp
> deploy
> Notice it get successfully done.
> 4. Do an undeploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> undeploy
> 5. Do an webapp build by,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> build.webapp
> It produce the following,
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
> app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
> Buildfile: ant\buildWebapp.xml
> build.webapp:
> [delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> [echo] ========== Compile Java sources in WEB-INF/src, including controls =
> =========
> [echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
> [echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
> [mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
> [echo] ========== Compile Page Flows ==========
> [apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
> [apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
> in the web application.
> [apt] public Forward home()
> [apt] ^
> [apt] 1 warning
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 6. Continue to deploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> deploy
> Notice, it will deploy OK and the webapp runs OK.
> I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (BEEHIVE-72) Webapp build warning
Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
[ http://nagoya.apache.org/jira/browse/BEEHIVE-72?page=comments#action_55269 ]
Julie Zhuo commented on BEEHIVE-72:
-----------------------------------
FYI, removed the global directory that has the Global.app in it and excersize the repro step again and again and also do the build.webapp redeploy again and again, it never produce any problem. While with the Global.app, redeploy produce that warning all the time. Just thought this may mean something.
> Webapp build warning
> --------------------
>
> Key: BEEHIVE-72
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-72
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Alpha
> Reporter: Julie Zhuo
> Priority: Minor
>
> Repro,
> 1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
> 2. Start the tomcat
> 3. Follow the page flow tutorial build and deploy the webapp the first time using,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> build.webapp
> deploy
> Notice it get successfully done.
> 4. Do an undeploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> undeploy
> 5. Do an webapp build by,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> build.webapp
> It produce the following,
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
> app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
> Buildfile: ant\buildWebapp.xml
> build.webapp:
> [delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> [echo] ========== Compile Java sources in WEB-INF/src, including controls =
> =========
> [echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
> [echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
> [mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
> [echo] ========== Compile Page Flows ==========
> [apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
> [apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
> in the web application.
> [apt] public Forward home()
> [apt] ^
> [apt] 1 warning
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 6. Continue to deploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> deploy
> Notice, it will deploy OK and the webapp runs OK.
> I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-72) Webapp build warning
Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-72?page=history ]
Rich Feit resolved BEEHIVE-72:
------------------------------
Assign To: Julie Zhuo (was: Rich Feit)
Resolution: Fixed
Fix Version: V1Alpha
Hi Julie, I fixed this a while ago but forgot to resolve the bug.
> Webapp build warning
> --------------------
>
> Key: BEEHIVE-72
> URL: http://issues.apache.org/jira/browse/BEEHIVE-72
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Julie Zhuo
> Assignee: Julie Zhuo
> Priority: Minor
> Fix For: V1Alpha
>
> Repro,
> 1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
> 2. Start the tomcat
> 3. Follow the page flow tutorial build and deploy the webapp the first time using,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> build.webapp
> deploy
> Notice it get successfully done.
> 4. Do an undeploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> undeploy
> 5. Do an webapp build by,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> build.webapp
> It produce the following,
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
> app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
> Buildfile: ant\buildWebapp.xml
> build.webapp:
> [delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> [echo] ========== Compile Java sources in WEB-INF/src, including controls =
> =========
> [echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
> [echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
> [mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
> [echo] ========== Compile Page Flows ==========
> [apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
> [apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
> in the web application.
> [apt] public Forward home()
> [apt] ^
> [apt] 1 warning
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 6. Continue to deploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> deploy
> Notice, it will deploy OK and the webapp runs OK.
> I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-72) Webapp build warning
Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-72?page=history ]
Julie Zhuo closed BEEHIVE-72:
-----------------------------
Can not be reproduced now.
> Webapp build warning
> --------------------
>
> Key: BEEHIVE-72
> URL: http://issues.apache.org/jira/browse/BEEHIVE-72
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Julie Zhuo
> Assignee: Julie Zhuo
> Priority: Minor
> Fix For: V1Alpha
>
> Repro,
> 1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
> 2. Start the tomcat
> 3. Follow the page flow tutorial build and deploy the webapp the first time using,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> build.webapp
> deploy
> Notice it get successfully done.
> 4. Do an undeploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> undeploy
> 5. Do an webapp build by,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> build.webapp
> It produce the following,
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
> app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
> Buildfile: ant\buildWebapp.xml
> build.webapp:
> [delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> [echo] ========== Compile Java sources in WEB-INF/src, including controls =
> =========
> [echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
> [echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
> [mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
> [echo] ========== Compile Page Flows ==========
> [apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
> [apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
> in the web application.
> [apt] public Forward home()
> [apt] ^
> [apt] 1 warning
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 6. Continue to deploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> deploy
> Notice, it will deploy OK and the webapp runs OK.
> I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (BEEHIVE-72) Webapp build warning
Posted by "Steve Tocco (JIRA)" <be...@incubator.apache.org>.
[ http://nagoya.apache.org/jira/browse/BEEHIVE-72?page=history ]
Steve Tocco updated BEEHIVE-72:
-------------------------------
Version: V1Beta
(was: V1Alpha)
moving this issue into Beta and assigning to Rich. A comment on this issue has been requested in Bug 70 for alpha documentation.
> Webapp build warning
> --------------------
>
> Key: BEEHIVE-72
> URL: http://nagoya.apache.org/jira/browse/BEEHIVE-72
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Julie Zhuo
> Assignee: Rich Feit
> Priority: Minor
>
> Repro,
> 1. Install a brand new tomcat5.025 using beehive svn bootstrap target.
> 2. Start the tomcat
> 3. Follow the page flow tutorial build and deploy the webapp the first time using,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> build.webapp
> deploy
> Notice it get successfully done.
> 4. Do an undeploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> undeploy
> 5. Do an webapp build by,
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> build.webapp
> It produce the following,
> D:\beehive-dist\apache-beehive-incubating-1.0-alpha-snapshot>ant -f ant\buildWeb
> app.xml -Dwebapp.dir=d:\beehive-dist\project\pageflow_tutorial build.webapp
> Buildfile: ant\buildWebapp.xml
> build.webapp:
> [delete] Deleting directory D:\beehive-dist\project\pageflow_tutorial\WEB-INF
> \.tmpbeansrc
> [xmlbeanbuild] Could not find any xsd or wsdl files to process.
> [echo] ========== Compile Java sources in WEB-INF/src, including controls =
> =========
> [echo] netui-compiler.jar: D:\beehive-dist\apache-beehive-incubating-1.0-al
> pha-snapshot/lib/netui/beehive-netui-compiler.jar
> [echo] controls.jar: D:\beehive-dist\apache-beehive-incubating-1.0-alpha-sn
> apshot/lib/controls/controls.jar
> [mkdir] Created dir: D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpb
> eansrc
> [echo] ========== Compile Page Flows ==========
> [apt] Compiling 1 source file to D:\beehive-dist\project\pageflow_tutorial
> \WEB-INF\classes
> [apt] D:\beehive-dist\project\pageflow_tutorial\WEB-INF\.tmpbeansrc\WEB-IN
> F\src\global\Global.java:28: warning: File "/Controller.jpf" could not be found
> in the web application.
> [apt] public Forward home()
> [apt] ^
> [apt] 1 warning
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> BUILD SUCCESSFUL
> Total time: 3 seconds
> 6. Continue to deploy by
> ant
> -f %BEEHIVE_HOME%\ant\buildWebapp.xml
> -Dwebapp.dir=C:\beehive_projects\pageflow_tutorial
> -Dcontext.path=pageflow_tutorial
> deploy
> Notice, it will deploy OK and the webapp runs OK.
> I just wanted to file this here, not sure whether or not it will be a root of something. Hopefully not! :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira