Sorry about that, thank you for fixing it! On Mon, Nov 14, 2011 at 8:19 AM, Matthieu Morel (Closed) (JIRA) < [email protected]> wrote:
> > [ > https://issues.apache.org/jira/browse/S4-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Matthieu Morel closed S4-26. > ---------------------------- > > Resolution: Fixed > > Fixed in leo's repo https://github.com/leoneu/s4-piper-app > > This was due to the code looping over source files and systematically > executing the associated closure, regardless of whether the app class was > already found or not. I added a check for that. > > > standalone application build script fails when the source directory > contains more than 1 class > > > ---------------------------------------------------------------------------------------------- > > > > Key: S4-26 > > URL: https://issues.apache.org/jira/browse/S4-26 > > Project: Apache S4 > > Issue Type: Bug > > Affects Versions: 0.5 > > Reporter: Matthieu Morel > > Assignee: Matthieu Morel > > Fix For: 0.5 > > > > > > This happens in certain cases, depending on the name of the classes. > > For instance, in s4-piper-app, if we add a class named HelloApp2 (that > does nothing), the build fails, notably saying: > > 16:57:52.033 [QUIET] [system.out] Found app class name: s4app.HelloApp > > 16:57:52.039 [QUIET] [system.out] Couldn't find App class in source > files...aborting. > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators: > https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > -- Leo Neumeyer (@leoneu)
