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:44:24 UTC

[jira] Commented: (BEEHIVE-72) Webapp build warning

     [ 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