[ http://issues.apache.org/jira/browse/BEEHIVE-439?page=history ]
     
Jeremiah Johnson closed BEEHIVE-439:
------------------------------------


> empty WEB-INF/src directory causes *.jpf in webapp root to not be found
> -----------------------------------------------------------------------
>
>          Key: BEEHIVE-439
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-439
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: Beehive SVN
>     Reporter: Jeremiah Johnson
>     Assignee: Jeremiah Johnson
>  Attachments: BEEHIVE-439.tar
>
> I was attempting to use the new build-pageflows macro and found that a simple 
> Web application doesn't build if I use Controller.jpf in the webapp root.  
> When I rename Controller.jpf to WEB-INF/src/Controller.java, then the Web 
> application builds as expected.
> The build-pageflows macro is actually silent about the failure.  Because the 
> failure  is silent, I made this bug 'major'.  Here is an example of the build 
> output when using Controller.jpf (I will attach the build script used in the 
> repro tarball):
> build:
>      [echo] Deploy NetUI to webapp /home/jjohnson/projects/BEEHIVE-4XX/webapp
> deploy.beehive.webapp.runtime:
>      [echo] Deploy NetUI to webapp rooted at: 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp
>      [copy] Copying 40 files to 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/WEB-INF/lib
>      [copy] Copying 14 files to 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/resources
>     [mkdir] Created dir: 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/WEB-INF/classes
> bundle:
>     [mkdir] Created dir: /home/jjohnson/projects/BEEHIVE-4XX/build
>       [jar] Building jar: 
> /home/jjohnson/projects/BEEHIVE-4XX/build/BEEHIVE-4XX.war
> BUILD SUCCESSFUL
> Total time: 5 seconds
> Now, here is the output that I get when using WEB-INF/src/Controller.java 
> (notice the APT step).
> build:
>      [echo] Deploy NetUI to webapp /home/jjohnson/projects/BEEHIVE-4XX/webapp
> deploy.beehive.webapp.runtime:
>      [echo] Deploy NetUI to webapp rooted at: 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp
>      [copy] Copying 40 files to 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/WEB-INF/lib
>      [copy] Copying 14 files to 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/resources
>     [mkdir] Created dir: 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/WEB-INF/classes
>       [apt] Compiling 1 source file to 
> /home/jjohnson/projects/BEEHIVE-4XX/webapp/WEB-INF/classes
> bundle:
>     [mkdir] Created dir: /home/jjohnson/projects/BEEHIVE-4XX/build
>       [jar] Building jar: 
> /home/jjohnson/projects/BEEHIVE-4XX/build/BEEHIVE-4XX.war
> BUILD SUCCESSFUL
> Total time: 9 seconds
> - jeremiah

-- 
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

Reply via email to