tag:blogger.com,1999:blog-3388693861049579757.comments2024-03-04T10:55:17.149+01:00rostislav.matlRostislav Matlhttp://www.blogger.com/profile/01298732927177956071noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-3388693861049579757.post-16143355721276661572018-10-24T10:00:48.506+02:002018-10-24T10:00:48.506+02:00goodgoodEdmond G. Belangerhttps://www.blogger.com/profile/14532264814565369687noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-3114563768261788232017-06-20T23:00:03.826+02:002017-06-20T23:00:03.826+02:00Clean explanation, thx.Clean explanation, thx.Ladislav Jechhttps://www.blogger.com/profile/07376147798083150350noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-82051434271944232152017-02-10T09:12:55.079+01:002017-02-10T09:12:55.079+01:00Great article, thanks!Great article, thanks!Anonymoushttps://www.blogger.com/profile/12290891137307612982noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-59710971905407572282016-09-02T13:47:50.342+02:002016-09-02T13:47:50.342+02:00Thanks, this worked like a charm for me!Thanks, this worked like a charm for me!Deepakhttps://www.blogger.com/profile/02954065367515693600noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-12796446943810845342016-04-07T11:16:33.033+02:002016-04-07T11:16:33.033+02:00Creating a temporary table as TEMPORARY or even UN...Creating a temporary table as TEMPORARY or even UNLOGGED might lead to a signifficant speedup. It can also be used for further computation/data manipulation with user defined indexing very efficiently.Nullhttps://www.blogger.com/profile/06926497225325052278noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-16858378783840284612015-11-13T16:12:49.081+01:002015-11-13T16:12:49.081+01:00Aggregators are to group multiple modules to a sin...Aggregators are to group multiple modules to a single project. There can be lots of modules and even more possible combinations -- you would end up copying dependencies from place to place, which would be both mess and source of undesired bugs. <br /><br />For simple project, i.e. some command line utility, you'll have a single pom.xml, but that's a different story.Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-77413160555779563112015-11-12T12:51:20.123+01:002015-11-12T12:51:20.123+01:00Why not put the dependencies in the aggregator pom...Why not put the dependencies in the aggregator pom and just have one pom for both?Anonymoushttps://www.blogger.com/profile/09820323199057194525noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-80290951923810351682015-08-11T04:57:20.094+02:002015-08-11T04:57:20.094+02:00Thank you for this analysis, it saves life!Thank you for this analysis, it saves life!Anonymoushttps://www.blogger.com/profile/04279631239097579156noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-13341083470414958082015-07-04T14:22:05.223+02:002015-07-04T14:22:05.223+02:00yes, its' from the static importyes, its' from the static importRostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-60165345778510902362015-07-01T00:05:40.262+02:002015-07-01T00:05:40.262+02:00Where is notNullValue()? Hamcrest? Where is notNullValue()? Hamcrest? Benhttps://www.blogger.com/profile/11737154226793989364noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-87486419191399569562015-05-19T08:34:39.541+02:002015-05-19T08:34:39.541+02:00Very interesting, thanks!Very interesting, thanks!Antonio Diazhttps://www.blogger.com/profile/13449655565575523702noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-47168005662965305722015-05-19T08:33:58.062+02:002015-05-19T08:33:58.062+02:00Very interesting, thanks!Very interesting, thanks!Antonio Diazhttps://www.blogger.com/profile/13449655565575523702noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-58684327425291760082015-01-06T15:31:20.815+01:002015-01-06T15:31:20.815+01:00Have a look at https://github.com/eclecticlogic/pe...Have a look at https://github.com/eclecticlogic/pedal-dialect. Its a framework that allows the copy command to work directly with JPA entities.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-69858510432802652592014-09-21T22:29:50.421+02:002014-09-21T22:29:50.421+02:00Yes, relative path should be set to ../parent/ - i...Yes, relative path should be set to ../parent/ - in such case so the project works as aggregator and the parent in parent subdirectory provides separate pom.xml with dependency management, plugin management, shared properties etc. Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-83592404590680675962014-09-08T12:21:38.429+02:002014-09-08T12:21:38.429+02:00Hello,
what would be the directory layout for suc...Hello,<br /><br />what would be the directory layout for such a project?<br /><br />Let me guess. Something like this?<br /><br />project<br />- parent<br />- - pom.xml<br />- project1<br />- - pom.xml<br />- project2<br />- - pom.xml<br />- pom.xml (Aggregator POM)<br /><br />In this case, relativePath could be set to ../parent/pom.xml, although it would not be absolutely necessary to work with mvn -pl .<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-86230683423657550592014-08-17T17:34:39.980+02:002014-08-17T17:34:39.980+02:00Thanks a lot.Thanks a lot.Anonymoushttps://www.blogger.com/profile/12724208559053254749noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-38195967393866874202014-05-13T17:37:01.783+02:002014-05-13T17:37:01.783+02:00If you prefix the file name with "classpath:&...If you prefix the file name with "classpath:" you need only to put the file in class path :) - what directories are on class path depends on your setup. <br /><br />In application you do not access the file but the properties, you can alwasy call MyPropertyResolver.getProperty(propertyName) , regardless if the classs is augmented by Spring or not.Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-966187996200256252014-04-08T22:57:18.325+02:002014-04-08T22:57:18.325+02:00Can you please show me the directory structure whe...Can you please show me the directory structure where the property file should be placed and how it is accessed using java in Spring 3?Anonymoushttps://www.blogger.com/profile/13882766190440318581noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-17799673734633835102014-01-30T13:00:14.208+01:002014-01-30T13:00:14.208+01:00Good question - of course you can do it. The advan...Good question - of course you can do it. The advantage of calling the static method is that it can be accessed even by the code the is not Spring-aware.Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-80868898402657382992014-01-30T12:49:46.734+01:002014-01-30T12:49:46.734+01:00Thanks a lot for this article. I was trying to get...Thanks a lot for this article. I was trying to get this working for a while and was able to get it working with the help of this article.<br /><br />I have a further question. Would it be cleaner design if this bean is injected into wherever it is to be used, rather than call the static method? Let me know your thoughts.Sudarshan Shubakarhttps://www.blogger.com/profile/17455078096166316780noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-46638109207213429082013-10-30T10:26:34.322+01:002013-10-30T10:26:34.322+01:00This is fine But when you modify logback.xml at ru...This is fine But when you modify logback.xml at run time ,i mean scan ==true.That case context ll destroyed and it will set to default.i was trying to use comom xml file for two j2ee war by setting app name but facing this issue:-)Harsimranjit Singh Klerhttps://www.blogger.com/profile/16965450352674513724noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-4442054707251984662013-09-29T20:26:08.118+02:002013-09-29T20:26:08.118+02:00http://maven.apache.org/ - first of all learn the...http://maven.apache.org/ - first of all learn the directory structure and life cycle, get used to dependency management. Then go for profiles and plugins, also leant the difference of parent and aggregator. For peace of mind I suggest to avoid all the site-related things (javadoc generation etc.), it's kind of broken all the time. For a particular problem, search internet :), you'll end in stackoverflow or in some blog. Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-1716701677097721692013-09-28T03:41:08.526+02:002013-09-28T03:41:08.526+02:00Hi, I read you article. I started to read the cook...Hi, I read you article. I started to read the cookbook and, as you said it's very tricky for a beginner like me. I would like to know if you have resources to suggest regarding maven? Anonymoushttps://www.blogger.com/profile/05230999750011704513noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-29260020178454787092013-06-06T17:16:47.478+02:002013-06-06T17:16:47.478+02:00Very useful analysis, thanks a lot!Very useful analysis, thanks a lot!Luigihttps://www.blogger.com/profile/08953564938890464641noreply@blogger.comtag:blogger.com,1999:blog-3388693861049579757.post-23028455521774530242012-08-29T21:56:51.986+02:002012-08-29T21:56:51.986+02:00For Firefox following steps could work:
1/ create...For Firefox following steps could work:<br /><br />1/ create separate testing profile by running <br /> "firefox -ProfileManage -no-remote"<br /><br />2/ install an extension the will do the authentication for you<br />AutoAuth for basic authentication, Integrated Authentication for NTLM<br /><br />3/ locate the directory of the profile<br /><br />4/ create Firefox driver fot his profile:<br /> File profileDir = new File(profilePath);<br /> FirefoxProfile profile = new FirefoxProfile(profileDir);<br /> new FirefoxDriver(profile);Rostislav Matlhttps://www.blogger.com/profile/01298732927177956071noreply@blogger.com