But it is missing a few tests - it's easier to accept if those exist ;) On Thu, Nov 5, 2009 at 7:47 PM, Andreas Andreou <andy...@di.uoa.gr> wrote: > sure, i'll take a look tonight/tomorrow > > On Thu, Nov 5, 2009 at 4:49 PM, Octavian Ciubotaru > <octav...@ciubotaru.net> wrote: >> Hello Andreas, >> That worked. Thank you very much. >> >> Can I ask you to include my patch? It will be better for me to not maintain >> a copy of @BeanForm project :) >> My patch relates to the labels. Now if bean has a property serverPort, then >> I need to have a properties file in which I should map this serverPort to a >> translation like 'Server Port'. This is fine as long as I would use files, >> however our project takes these translations from database, so I needed some >> kind of overriding to be able to specify, that serverPort property has >> another label "message:labels.server_port", and that 'labels.server_port' >> would be queried from database, or with same success from properties file... >> So I modified the pattern of properties parameter of @BeanForm to allow >> overriding label in square brakets. >> So I would write <form jwcid="@BeanForm" bean="ognl:pojo" >> properties="serverPort{required}[labels.server_port],nextProperty[label_2]"> >> </form> >> >> The patch is in attachments. Please take a look at this. >> >> Best regards, >> Octavian >> >> On Thu, Nov 5, 2009 at 2:34 PM, Andreas Andreou <andy...@di.uoa.gr> wrote: >>> >>> Looks like beanform's parent pom had those old and snapshot dependencies >>> >>> Make the following change: >>> --- pom.xml (revision 798) >>> +++ pom.xml (working copy) >>> @@ -55,7 +55,7 @@ >>> <parent> >>> <groupId>net.sf.tacos</groupId> >>> <artifactId>tacos-project</artifactId> >>> - <version>4.1.1</version> >>> + <version>4.1.2-SNAPSHOT</version> >>> </parent> >>> <modules> >>> <module>beanform-core</module> >>> >>> and please try again and do tell me if it works now >>> >>> On Thu, Nov 5, 2009 at 2:11 PM, Octavian Ciubotaru >>> <octav...@ciubotaru.net> wrote: >>> > Hello Andreas, >>> > >>> > I've got sources from trunk: >>> > >>> > svn co https://tacos.svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/ >>> > >>> > Also on your site the link is prefixed with svn: which is not correct I >>> > think. >>> > >>> > >>> > >>> > I tried to execute your command, and maven again gives me the same >>> > message. >>> > It cannot find maven-compiler-plugin. >>> > Ok, I can try and fix the pom, but I am asking myself how do you compile >>> > the >>> > project? Maybe the maven setting are different... >>> > >>> > I also tried to delete my .m2 directory and reinstall maven. But no >>> > luck, >>> > same errors pop up. >>> > >>> > Best regards, >>> > Octavian >>> > >>> > On Thu, Nov 5, 2009 at 1:21 PM, Andreas Andreou <andy...@di.uoa.gr> >>> > wrote: >>> >> >>> >> Hi - where did you get the sources from? >>> >> you can try issuing >>> >> mvn versions:display-plugin-updates >>> >> to see the latest versions of the plugins and update the pom >>> >> manually >>> >> >>> >> >>> >> On Thu, Nov 5, 2009 at 11:25 AM, Octavian Ciubotaru >>> >> <octav...@ciubotaru.net> wrote: >>> >> > Hello, >>> >> > I have some ideas to customize BeanForm for my project, already >>> >> > patched >>> >> > the BeanForm project, but my maven cannot compile it. Every time it >>> >> > tries to >>> >> > download some odd snapshots like: >>> >> > >>> >> > org.apache.maven.plugins:maven-surefire-plugin:pom:2.4-collab-SNAPSHOT >>> >> > also the same for maven-compiler-plugin and maven-clean-plugin. >>> >> > Please help me to compile it. >>> >> > My maven is 2.2.1. >>> >> > Maybe I need to setup someway maven? >>> >> > I'm willing to share my patch if it makes sense for others too. >>> >> > >>> >> > This is what I've got: >>> >> > >>> >> > [octav...@localhost beanform]$ mvn clean release:clean >>> >> > release:prepare >>> >> > -Dusername=xxx -DdryRun=true >>> >> > [INFO] Scanning for projects... >>> >> > [INFO] Reactor build order: >>> >> > [INFO] BeanForm >>> >> > [INFO] BeanForm Core >>> >> > [INFO] BeanForm Examples >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository apache.snapshots >>> >> > (http://people.apache.org/repo/m2-snapshot-repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://howardlewisship.com/repository/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository tapestry.javaforge (http://howardlewisship.com/repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository snapshots.codehaus.org >>> >> > (http://snapshots.repository.codehaus.org) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://tacos.sourceforge.net/nightly/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository tacos.snapshot (http://tacos.sourceforge.net/nightly) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://www.erinors.com/developer/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository tapdoc (http://www.erinors.com/developer/maven2) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > https://maven-repository.dev.java.net/nonav/repository/org.apache.maven.plugins/poms/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository java-net >>> >> > (https://maven-repository.dev.java.net/nonav/repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://howardlewisship.com/repository/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository hls (http://howardlewisship.com/repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository apache.snapshots >>> >> > (http://people.apache.org/repo/m2-snapshot-repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://howardlewisship.com/repository/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository tapestry.javaforge (http://howardlewisship.com/repository) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository snapshots.codehaus.org >>> >> > (http://snapshots.repository.codehaus.org) >>> >> > Downloading: >>> >> > >>> >> > >>> >> > http://repository.codehaus.org/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-SNAPSHOT.pom >>> >> > [INFO] Unable to find resource >>> >> > 'org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT' in >>> >> > repository codehaus.org (http://repository.codehaus.org) >>> >> > [INFO] >>> >> > >>> >> > ------------------------------------------------------------------------ >>> >> > [ERROR] BUILD ERROR >>> >> > [INFO] >>> >> > >>> >> > ------------------------------------------------------------------------ >>> >> > [INFO] Error building POM (may not be this project's POM). >>> >> > >>> >> > >>> >> > Project ID: org.apache.maven.plugins:maven-compiler-plugin >>> >> > >>> >> > Reason: POM 'org.apache.maven.plugins:maven-compiler-plugin' not >>> >> > found >>> >> > in >>> >> > repository: Unable to download the artifact from any repository >>> >> > >>> >> > org.apache.maven.plugins:maven-compiler-plugin:pom:2.1-SNAPSHOT >>> >> > >>> >> > from the specified remote repositories: >>> >> > apache.snapshots >>> >> > (http://people.apache.org/repo/m2-snapshot-repository), >>> >> > java-net (https://maven-repository.dev.java.net/nonav/repository), >>> >> > tacos.snapshot (http://tacos.sourceforge.net/nightly), >>> >> > central (http://repo1.maven.org/maven2), >>> >> > snapshots.codehaus.org (http://snapshots.repository.codehaus.org), >>> >> > tapdoc (http://www.erinors.com/developer/maven2), >>> >> > codehaus.org (http://repository.codehaus.org), >>> >> > tapestry.javaforge (http://howardlewisship.com/repository), >>> >> > hls (http://howardlewisship.com/repository) >>> >> > >>> >> > for project org.apache.maven.plugins:maven-compiler-plugin >>> >> > >>> >> > >>> >> > [INFO] >>> >> > >>> >> > ------------------------------------------------------------------------ >>> >> > [INFO] For more information, run Maven with the -e switch >>> >> > [INFO] >>> >> > >>> >> > ------------------------------------------------------------------------ >>> >> > [INFO] Total time: 9 seconds >>> >> > [INFO] Finished at: Thu Nov 05 11:28:39 EET 2009 >>> >> > [INFO] Final Memory: 7M/145M >>> >> > [INFO] >>> >> > >>> >> > ------------------------------------------------------------------------ >>> >> > >>> >> > >>> >> > >>> >> > Best regards, >>> >> > Octavian >>> >> > >>> >> > >>> >> > >>> >> > ------------------------------------------------------------------------------ >>> >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> >> > 30-Day >>> >> > trial. Simplify your report design, integration and deployment - and >>> >> > focus >>> >> > on >>> >> > what you do best, core application coding. Discover what's new with >>> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >> > _______________________________________________ >>> >> > Tacos-devel mailing list >>> >> > Tacos-devel@lists.sourceforge.net >>> >> > https://lists.sourceforge.net/lists/listinfo/tacos-devel >>> >> > >>> >> > >>> >> >>> >> >>> >> >>> >> -- >>> >> Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr >>> >> Tapestry / Tacos developer >>> >> Open Source / JEE Consulting >>> >> >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >>> >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> >> 30-Day >>> >> trial. Simplify your report design, integration and deployment - and >>> >> focus >>> >> on >>> >> what you do best, core application coding. Discover what's new with >>> >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >> _______________________________________________ >>> >> Tacos-devel mailing list >>> >> Tacos-devel@lists.sourceforge.net >>> >> https://lists.sourceforge.net/lists/listinfo/tacos-devel >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> > 30-Day >>> > trial. Simplify your report design, integration and deployment - and >>> > focus >>> > on >>> > what you do best, core application coding. Discover what's new with >>> > Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> > _______________________________________________ >>> > Tacos-devel mailing list >>> > Tacos-devel@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/tacos-devel >>> > >>> > >>> >>> >>> >>> -- >>> Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr >>> Tapestry / Tacos developer >>> Open Source / JEE Consulting >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Tacos-devel mailing list >>> Tacos-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/tacos-devel >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Tacos-devel mailing list >> Tacos-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tacos-devel >> >> > > > > -- > Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr > Tapestry / Tacos developer > Open Source / JEE Consulting >
-- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / JEE Consulting ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel