Thread: [smartweb-devel] Problems compiling auth
Brought to you by:
rlogiacco
From: Sébastien LE C. <sl...@ya...> - 2009-03-14 15:03:59
|
Hi All, Is it me or the auth module is broken? sebastien@kilkenny:~/workspace/smartweb/modules/auth$ mvn clean compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building SmartWeb Auth [INFO] task-segment: [clean, compile] [INFO] ------------------------------------------------------------------------ (snip) [INFO] Compiling 51 source files to /home/sebastien/workspace/smartweb/modules/auth/bin [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/aspects/MethodAuthorizationInterceptor.java:[120,23] cannot find symbol symbol : constructor Privilege(java.lang.String,java.lang.String,byte) location: class net.smartlab.web.auth.Privilege /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/ValidTag.java:[129,33] cannot find symbol symbol : method hasPrivilege(net.smartlab.web.auth.Privilege,net.smartlab.web.auth.Scope,boolean) location: class net.smartlab.web.auth.User Thanks, Sébastien. |
From: Roberto Lo G. <rlo...@us...> - 2009-03-15 05:04:31
|
I'll fix it tomorrow... yes, the trunk is broken, my fault Roberto Lo Giacco On Sat, Mar 14, 2009 at 3:37 PM, Sébastien LE CALLONNEC <sl...@ya...> wrote: > > Hi All, > > Is it me or the auth module is broken? > > sebastien@kilkenny:~/workspace/smartweb/modules/auth$ mvn clean compile > [INFO] Scanning for projects... > [INFO] ------------------------------------------------------------------------ > [INFO] Building SmartWeb Auth > [INFO] task-segment: [clean, compile] > [INFO] ------------------------------------------------------------------------ > > (snip) > > [INFO] Compiling 51 source files to /home/sebastien/workspace/smartweb/modules/auth/bin > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Compilation failure > > /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/aspects/MethodAuthorizationInterceptor.java:[120,23] cannot find symbol > symbol : constructor Privilege(java.lang.String,java.lang.String,byte) > location: class net.smartlab.web.auth.Privilege > > /home/sebastien/workspace/smartweb/modules/auth/src/net/smartlab/web/auth/ValidTag.java:[129,33] cannot find symbol > symbol : method hasPrivilege(net.smartlab.web.auth.Privilege,net.smartlab.web.auth.Scope,boolean) > location: class net.smartlab.web.auth.User > > > > Thanks, > Sébastien. > > > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > |
From: Roberto Lo G. <rlo...@sm...> - 2009-03-15 21:30:00
|
Roberto Lo Giacco wrote: > I'll fix it tomorrow... yes, the trunk is broken, my fault > > Roberto Lo Giacco > > > > On Sat, Mar 14, 2009 at 3:37 PM, Sébastien LE CALLONNEC <sl...@ya...> wrote: > >> Hi All, >> >> Is it me or the auth module is broken? >> I' ve fixed the compilation errors but HSQLDB now reports a problem on a query... very probably the formula we used to select the group members count... I'm asking gcontartese if he can double check the problem on the registry module where a similar formula has been used. Because of this I couldn't run the full test suite (which lacks a lot of test anyway) so I wish to advice you the trunk can contain some functional errors. I'm planning to complete the entire module and cut the next release in the current week. By the way: I've made some progress on the automated historical data management (in the core under the `history` package) but I still haven't wrote any test.... it would be helpful if someone can help on this side as I'm not really quick in test writing... my fault. -- Roberto Lo Giacco Chief Technical Officer SmartLab s.r.l. via Spagna, snc - 87036 Rende (CS) - Italy Mobile: +39 392 8765657 Email: rlo...@sm... Skype: longisland-75 Web: http://www.smartlab.it |
From: Roberto Lo G. <rlo...@sm...> - 2009-03-15 21:49:41
|
I was missing an advice, valid for the next week only: we have moved modules POM to inheritance but we haven't released yet the super-pom so you need to run this command from within the `modules` folder: mvn install this is need for three modules right now, but we wish to move all the modules to this inheritance schema so we can avoid to maintan all and each modules POM for those shared parts In the very next days we are going to deliver the Sebastien maven artifact too, I still hadn't the time to put it in place... sorry Sebastien :( Roberto Lo Giacco wrote: > Roberto Lo Giacco wrote: >> I'll fix it tomorrow... yes, the trunk is broken, my fault >> >> Roberto Lo Giacco >> >> >> >> On Sat, Mar 14, 2009 at 3:37 PM, Sébastien LE CALLONNEC >> <sl...@ya...> wrote: >> >>> Hi All, >>> >>> Is it me or the auth module is broken? >>> > > I' ve fixed the compilation errors but HSQLDB now reports a problem on > a query... very probably the formula we used to select the group > members count... I'm asking gcontartese if he can double check the > problem on the registry module where a similar formula has been used. > > Because of this I couldn't run the full test suite (which lacks a lot > of test anyway) so I wish to advice you the trunk can contain some > functional errors. I'm planning to complete the entire module and cut > the next release in the current week. > > By the way: I've made some progress on the automated historical data > management (in the core under the `history` package) but I still > haven't wrote any test.... it would be helpful if someone can help on > this side as I'm not really quick in test writing... my fault. > > -- Roberto Lo Giacco Chief Technical Officer SmartLab s.r.l. via Spagna, snc - 87036 Rende (CS) - Italy Mobile: +39 392 8765657 Email: rlo...@sm... Skype: longisland-75 Web: http://www.smartlab.it |
From: Sébastien LE C. <sl...@ya...> - 2009-03-16 08:17:48
|
Thanks, I'll give it a bash this evening. Regarding the archetype, no worries. I haven't had the chance to do much until now anyway! Let me know if you need help for this. Regards, Sebastien. ----- Message d'origine ---- > De : Roberto Lo Giacco <rlo...@sm...> > À : Framework Development Discussions <sma...@li...> > Envoyé le : Dimanche, 15 Mars 2009, 21h49mn 11s > Objet : Re: [smartweb-devel] Problems compiling auth > > I was missing an advice, valid for the next week only: we have moved > modules POM to inheritance but we haven't released yet the super-pom so > you need to run this command from within the `modules` folder: > > mvn install > > this is need for three modules right now, but we wish to move all the > modules to this inheritance schema so we can avoid to maintan all and > each modules POM for those shared parts > > In the very next days we are going to deliver the Sebastien maven > artifact too, I still hadn't the time to put it in place... sorry > Sebastien :( > > Roberto Lo Giacco wrote: > > Roberto Lo Giacco wrote: > >> I'll fix it tomorrow... yes, the trunk is broken, my fault > >> > >> Roberto Lo Giacco > >> > >> > >> > >> On Sat, Mar 14, 2009 at 3:37 PM, Sébastien LE CALLONNEC > >> wrote: > >> > >>> Hi All, > >>> > >>> Is it me or the auth module is broken? > >>> > > > > I' ve fixed the compilation errors but HSQLDB now reports a problem on > > a query... very probably the formula we used to select the group > > members count... I'm asking gcontartese if he can double check the > > problem on the registry module where a similar formula has been used. > > > > Because of this I couldn't run the full test suite (which lacks a lot > > of test anyway) so I wish to advice you the trunk can contain some > > functional errors. I'm planning to complete the entire module and cut > > the next release in the current week. > > > > By the way: I've made some progress on the automated historical data > > management (in the core under the `history` package) but I still > > haven't wrote any test.... it would be helpful if someone can help on > > this side as I'm not really quick in test writing... my fault. > > > > > > > -- > > Roberto Lo Giacco > > Chief Technical Officer > SmartLab s.r.l. > via Spagna, snc - 87036 Rende (CS) - Italy > > Mobile: +39 392 8765657 > Email: rlo...@sm... > Skype: longisland-75 > Web: http://www.smartlab.it > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel |
From: Sébastien LE C. <sl...@ya...> - 2009-03-16 21:24:15
|
Hi All, It all seems fine now. Thanks Roberto. I have a question though. I'm trying to get all the modules to be built from the parent pom, so I've added something like in the modules pom: <modules> <module>browse</module> <module>registry</module> <module>mail</module> <module>auth</module> <module>i18n</module> ... </modules> The idea is to get all the modules to be built with a single command in the modules directory (such as mvn test) -- this might prove helpful for CI with Hudson, for instance. However, I have a problem with the xdoclet plugin. When running mvn clean test in, say, modules/registry, it obviously works fine, but fails when running in modules/. I am suspecting that it's because of the ${basedir} used in the plugin config in the parent pom. Is there a workaround that you guys can think of? Thanks, Sebastien. ----- Message d'origine ---- > De : Roberto Lo Giacco <rlo...@sm...> > À : Framework Development Discussions <sma...@li...> > Envoyé le : Dimanche, 15 Mars 2009, 21h49mn 11s > Objet : Re: [smartweb-devel] Problems compiling auth > > I was missing an advice, valid for the next week only: we have moved > modules POM to inheritance but we haven't released yet the super-pom so > you need to run this command from within the `modules` folder: > > mvn install > > this is need for three modules right now, but we wish to move all the > modules to this inheritance schema so we can avoid to maintan all and > each modules POM for those shared parts > > In the very next days we are going to deliver the Sebastien maven > artifact too, I still hadn't the time to put it in place... sorry > Sebastien :( > > Roberto Lo Giacco wrote: > > Roberto Lo Giacco wrote: > >> I'll fix it tomorrow... yes, the trunk is broken, my fault > >> > >> Roberto Lo Giacco > >> > >> > >> > >> On Sat, Mar 14, 2009 at 3:37 PM, Sébastien LE CALLONNEC > >> wrote: > >> > >>> Hi All, > >>> > >>> Is it me or the auth module is broken? > >>> > > > > I' ve fixed the compilation errors but HSQLDB now reports a problem on > > a query... very probably the formula we used to select the group > > members count... I'm asking gcontartese if he can double check the > > problem on the registry module where a similar formula has been used. > > > > Because of this I couldn't run the full test suite (which lacks a lot > > of test anyway) so I wish to advice you the trunk can contain some > > functional errors. I'm planning to complete the entire module and cut > > the next release in the current week. > > > > By the way: I've made some progress on the automated historical data > > management (in the core under the `history` package) but I still > > haven't wrote any test.... it would be helpful if someone can help on > > this side as I'm not really quick in test writing... my fault. > > > > > > > -- > > Roberto Lo Giacco > > Chief Technical Officer > SmartLab s.r.l. > via Spagna, snc - 87036 Rende (CS) - Italy > > Mobile: +39 392 8765657 > Email: rlo...@sm... > Skype: longisland-75 > Web: http://www.smartlab.it > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel |