You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by Adam Jenkins <ma...@adamjenkins.net> on 2005/06/04 01:49:05 UTC

another apt issue?

This issue is with my use of apt, not apt itself.

I'm getting the following

[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java:17: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java".
    [apt] public class Controller
    [apt]        ^

[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java:54: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java".
    [apt] public class SharedFlow
    [apt]        ^
    [apt] 2 errors

A quick grep on the error message comes up with :

netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties:error.web-inf-not-found = The web application root directory could not be found for "{0}".

However a grep on error.web-inf-not-found comes up with nothing (on
trunk).

Where is this error thrown from and under what conditions?

Cheers
Adam


Re: another apt issue?

Posted by Richard Feit <ri...@bea.com>.
OK, hopefully that's it.  Same goes here -- if you run into it again, 
definitely resurrect this thread.

Rich

Adam Jenkins wrote:

>Was running against trunk...but is probably old, I haven't synced in
>quite a while.
>
>I'll sync up and go again
>
>On Sun, 2005-06-05 at 22:26 -0600, Richard Feit wrote:
>  
>
>>I actually removed the code that would have produced this error, but I 
>>apparently didn't remove the error message itself (which I'll do on my 
>>next checkin to trunk).  But out of curiosity, are you running against 
>>the latest Beehive code?  The earlier versions would have produced that 
>>error in certain situations if the WEB-INF directory couldn't be found, 
>>but the latest version won't try and discover it -- it looks for it 
>>within the passed-in "web.content.root".  So hopefully the version is 
>>the issue; let me know if it's not...
>>
>>Rich
>>
>>Adam Jenkins wrote:
>>
>>    
>>
>>>This issue is with my use of apt, not apt itself.
>>>
>>>I'm getting the following
>>>
>>>[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java:17: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java".
>>>   [apt] public class Controller
>>>   [apt]        ^
>>>
>>>[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java:54: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java".
>>>   [apt] public class SharedFlow
>>>   [apt]        ^
>>>   [apt] 2 errors
>>>
>>>A quick grep on the error message comes up with :
>>>
>>>netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties:error.web-inf-not-found = The web application root directory could not be found for "{0}".
>>>
>>>However a grep on error.web-inf-not-found comes up with nothing (on
>>>trunk).
>>>
>>>Where is this error thrown from and under what conditions?
>>>
>>>Cheers
>>>Adam
>>>
>>>
>>> 
>>>
>>>      
>>>
>
>
>  
>

Re: another apt issue?

Posted by Adam Jenkins <ma...@adamjenkins.net>.
Was running against trunk...but is probably old, I haven't synced in
quite a while.

I'll sync up and go again

On Sun, 2005-06-05 at 22:26 -0600, Richard Feit wrote:
> I actually removed the code that would have produced this error, but I 
> apparently didn't remove the error message itself (which I'll do on my 
> next checkin to trunk).  But out of curiosity, are you running against 
> the latest Beehive code?  The earlier versions would have produced that 
> error in certain situations if the WEB-INF directory couldn't be found, 
> but the latest version won't try and discover it -- it looks for it 
> within the passed-in "web.content.root".  So hopefully the version is 
> the issue; let me know if it's not...
> 
> Rich
> 
> Adam Jenkins wrote:
> 
> >This issue is with my use of apt, not apt itself.
> >
> >I'm getting the following
> >
> >[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java:17: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java".
> >    [apt] public class Controller
> >    [apt]        ^
> >
> >[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java:54: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java".
> >    [apt] public class SharedFlow
> >    [apt]        ^
> >    [apt] 2 errors
> >
> >A quick grep on the error message comes up with :
> >
> >netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties:error.web-inf-not-found = The web application root directory could not be found for "{0}".
> >
> >However a grep on error.web-inf-not-found comes up with nothing (on
> >trunk).
> >
> >Where is this error thrown from and under what conditions?
> >
> >Cheers
> >Adam
> >
> >
> >  
> >


Re: another apt issue?

Posted by Richard Feit <ri...@bea.com>.
I actually removed the code that would have produced this error, but I 
apparently didn't remove the error message itself (which I'll do on my 
next checkin to trunk).  But out of curiosity, are you running against 
the latest Beehive code?  The earlier versions would have produced that 
error in certain situations if the WEB-INF directory couldn't be found, 
but the latest version won't try and discover it -- it looks for it 
within the passed-in "web.content.root".  So hopefully the version is 
the issue; let me know if it's not...

Rich

Adam Jenkins wrote:

>This issue is with my use of apt, not apt itself.
>
>I'm getting the following
>
>[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java:17: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/Controller.java".
>    [apt] public class Controller
>    [apt]        ^
>
>[apt] /usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java:54: The web application root directory could not be found for "/usr/java/projects/beehive_projects/maven_xml_beans_test/src/pageflows/shared/SharedFlow.java".
>    [apt] public class SharedFlow
>    [apt]        ^
>    [apt] 2 errors
>
>A quick grep on the error message comes up with :
>
>netui/src/compiler-core/org/apache/beehive/netui/compiler/diagnostics.properties:error.web-inf-not-found = The web application root directory could not be found for "{0}".
>
>However a grep on error.web-inf-not-found comes up with nothing (on
>trunk).
>
>Where is this error thrown from and under what conditions?
>
>Cheers
>Adam
>
>
>  
>