[ http://issues.apache.org/jira/browse/BEEHIVE-444?page=history ]

Jeremiah Johnson updated BEEHIVE-444:
-------------------------------------

    Attachment: BEEHIVE-444.tar

To use the file, untar and then 'ant clean bundle'.  You will see something 
like this the first message below.  If you move Controller.jpf to WEB-INF/src/, 
then you will see something like the second message below.  Neither really 
'breaks' the build of the webapp, but they both give what looks like error 
messages.  If I put a build-controls in the build script, then all of the 
'errors' go away (for example, 'ant -f buildWithExtraControlCall.xml clean 
bundle'); that implies to me that build-pageflows isn't intended to be the 
standad-alone, do everything build for Web applications.

- jeremiah

--- First Error Message

build:
    [mkdir] Created dir: /home/jjohnson/projects/BEEHIVE-444/build/classes
      [apt] Compiling 2 source files to 
/home/jjohnson/projects/BEEHIVE-444/build/classes
      [apt] Note: 
/home/jjohnson/projects/BEEHIVE-444/build/.tmpbeansrc/hellocontrol/HelloBean.java
 uses unchecked or unsafe operations.
      [apt] Note: Recompile with -Xlint:unchecked for details.
     [echo] Deploy NetUI to webapp /home/jjohnson/projects/BEEHIVE-444/webapp

deploy.beehive.webapp.runtime:
     [echo] Deploy NetUI to webapp rooted at: 
/home/jjohnson/projects/BEEHIVE-444/webapp
     [copy] Copying 39 files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/lib
     [copy] Copying 14 files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/resources
      [jar] Building jar: 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/lib/myControls.jar
    [mkdir] Created dir: 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/classes
      [apt] Compiling 3 source files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/classes
      [apt] 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/.tmpbeansrc/Controller.java:47:
 cannot find symbol
      [apt] symbol  : class SomeForm
      [apt] location: class Controller
      [apt]    protected Forward someAction( SomeForm form )
      [apt]                                  ^

bundle:
      [jar] Building jar: 
/home/jjohnson/projects/BEEHIVE-444/build/BEEHIVE-444.war

BUILD SUCCESSFUL
Total time: 15 seconds




--- Second Error Message

build:
    [mkdir] Created dir: /home/jjohnson/projects/BEEHIVE-444/build/classes
      [apt] Compiling 2 source files to 
/home/jjohnson/projects/BEEHIVE-444/build/classes
      [apt] Note: 
/home/jjohnson/projects/BEEHIVE-444/build/.tmpbeansrc/hellocontrol/HelloBean.java
 uses unchecked or unsafe operations.
      [apt] Note: Recompile with -Xlint:unchecked for details.
     [echo] Deploy NetUI to webapp /home/jjohnson/projects/BEEHIVE-444/webapp

deploy.beehive.webapp.runtime:
     [echo] Deploy NetUI to webapp rooted at: 
/home/jjohnson/projects/BEEHIVE-444/webapp
     [copy] Copying 39 files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/lib
     [copy] Copying 14 files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/resources
      [jar] Building jar: 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/lib/myControls.jar
    [mkdir] Created dir: 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/classes
      [apt] Compiling 3 source files to 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/classes
      [apt] 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/.tmpbeansrc/ControllerClientInitializer.java:30:
 cannot find symbol
      [apt] symbol  : class Controller
      [apt] location: class ControllerClientInitializer
      [apt]     Controller client)
      [apt]     ^
      [apt] 
/home/jjohnson/projects/BEEHIVE-444/webapp/WEB-INF/.tmpbeansrc/ControllerClientInitializer.java:50:
 cannot find symbol
      [apt] symbol  : class Controller
      [apt] location: class ControllerClientInitializer
      [apt]     public static void initialize(ControlBeanContext cbc, 
Controller client)
      [apt]                                                           ^

bundle:
      [jar] Building jar: 
/home/jjohnson/projects/BEEHIVE-444/build/BEEHIVE-444.war

BUILD SUCCESSFUL
Total time: 14 seconds


> build-pageflows macro doesn't appear to work individually
> ---------------------------------------------------------
>
>          Key: BEEHIVE-444
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-444
>      Project: Beehive
>         Type: Bug
>   Components: Build
>  Environment: Beehive SVN
>     Reporter: Jeremiah Johnson
>     Assignee: Eddie O'Neil
>      Fix For: V1Beta
>  Attachments: BEEHIVE-444.tar
>
> The name 'build pageflows' implies that page flows both standing along side 
> the JSPs as well as page flows in WEB-INF/src should be compiled.  That 
> doesn't appear to be the case.  I will attach a reproduction.
> - 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