You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Jeremiah Johnson (JIRA)" <be...@incubator.apache.org> on 2005/03/14 22:53:09 UTC
[jira] Resolved: (BEEHIVE-439) empty WEB-INF/src directory causes *.jpf in webapp root to not be found
[ http://issues.apache.org/jira/browse/BEEHIVE-439?page=history ]
Jeremiah Johnson resolved BEEHIVE-439:
--------------------------------------
Assign To: Jeremiah Johnson (was: Rich Feit)
Resolution: Invalid
I didn't look closely enough at the build examples - my source directory was incorrect in my use of build-pageflows.
<build-pageflows classpathRef="webapp.lib.classpath"
destDir="${webapp.dir}/WEB-INF/classes"
sourceDir="${webapp.dir}"
tmpDir="${webapp.dir}/WEB-INF/.tmpbeansrc"/>
That is what I should use (based on the examples). I had sourceDir set to ${webapp.dir}/WEB-INF/src when I produced this bug.
- jeremiah
> 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