[Lift] Re: Maven skip tests

2009-08-04 Thread Indrajit Raychaudhuri
Telling maven to never fail: mvn -fn (NEVER fail the build, regardless of project result) Telling maven to skip test: (quite different from never failing) mvn -Dmaven.test.skip=true /irc On 05/08/09 2:27 AM, Naftoli Gugenheim wrote: How do you tell maven to install even if tests fail?

[Lift] Re: makeUtf8 and HttpServletRequest broken in new build???

2009-08-18 Thread Indrajit Raychaudhuri
+1 on some amount of nesting and reorganization. For example: docs, lift-archetype-basic, lift-facebook, lift-installer are all too different to be peers and probably can have different home (nested) based on 'traits' :) Cheers, Indrajit On Aug 18, 3:51 am, Timothy Perrett

[Lift] Re: Deploying

2009-08-18 Thread Indrajit Raychaudhuri
Peter, Just adding the following section in nginx conf would be a good start. server { location / { proxy_pass http://localhost:8080/; } } There is whole page on Nginx wiki on this: http://wiki.nginx.org/NginxJavaServers. Cheers, Indrajit On Aug 18, 6:14 am, Peter Robinett

[Lift] Re: Include build # in LiftVersion?

2009-08-21 Thread Indrajit Raychaudhuri
Maven is still quite git unfriendly, unfortunately. We used to have BuildNumber plugin (http://mojo.codehaus.org/ buildnumber-maven-plugin/create-mojo.html) in a Subversion based project. I don't think that works for Maven's Git SCM provider though. Alternately, this plugin allows injecting

[Lift] Re: Include build # in LiftVersion?

2009-08-22 Thread Indrajit Raychaudhuri
Indeed, looking out in the maven land for a way out would be useful. Meanwhile, there is an issue request for buildnumber plugin to support GIT: http://jira.codehaus.org/browse/MOJO-1199. However, Maven plugin for lift activities (creating boilerplate codes - like model, snippet etc.) could be

[Lift] Re: JPA blank archetype

2009-08-24 Thread Indrajit Raychaudhuri
Can you please set scala.version dependency to 2.7.5 in pom.xml and re- attempt. You can do this by looking for scala.version/ element in the pom.xml. /Indrajit On Aug 24, 11:06 am, Charles F. Munat c...@munat.com wrote: Nope. Same error, even after blowing away m2 and rerunning the basic

[Lift] Re: JPA blank archetype

2009-08-24 Thread Indrajit Raychaudhuri
Charles, Sorry for the false noise, setting lift-core dependency to version1.1-M4/version instead of version1.1-SNAPSHOT/version in web/pom.xml quite likely would help better. /Indrajit NB: I have had created a lift jpa project internally and played with it for sometime. It took a while to

[Lift] Re: JPA blank archetype

2009-08-24 Thread Indrajit Raychaudhuri
Tim, Quite likely he is effectively on *latest* 1.1-SNAPSHOT as he used - DarchetypeVersion=1.1-SNAPSHOT during archetype:create. Would look forward to the archetype refactoring. Meanwhile, I have created an issue summarizing the observations in http://github.com/dpp/liftweb/issues/#issue/52.

[Lift] Re: Include build # in LiftVersion?

2009-08-24 Thread Indrajit Raychaudhuri
, Tim On Aug 22, 2:48 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Indeed, looking out in the maven land for a way out would be useful. Meanwhile, there is an issue request for buildnumber plugin to support GIT:http://jira.codehaus.org/browse/MOJO-1199. However, Maven plugin

[Lift] Re: JPA blank archetype

2009-08-24 Thread Indrajit Raychaudhuri
Chas, The problem is quite likely with the archetype jar in the scala-tools repo. Derek is probably looking into it. Yes, your being confused about the master reference is understandable :) Good that it compiles through. For now, you can set the dependencies to lift-core and lift-jpa to 1.1-M4

[Lift] Re: JetBrains IntelliJ IDEA integration

2009-08-26 Thread Indrajit Raychaudhuri
I have found generating IDEA project (*.ipr) and module (*.iml) files with mvn idea:idea to be more consistent. It would take care of downloading the required jars. You can then proceed and open the project with IDEA. Newer versions might ask if you want to move to new project format which you

[Lift] Re: Codebase Organization...

2009-08-26 Thread Indrajit Raychaudhuri
Tim, sites to examples, certainly. For consistency lift-examples could be better. Some examples becoming archetype is great idea. Cheers, Indrajit On Aug 26, 2:59 pm, Timothy Perrett timo...@getintheloop.eu wrote: To clarify, only some of the examples will become archetypes... Not all. On

[Lift] Re: XHTML gotchas

2009-08-26 Thread Indrajit Raychaudhuri
It should be invalid for span/ in any mode of XHTML (strict, transitional) or HTML4 whatever you choose. span/ is an inline element that was never meant to support a block level element (form/, div/ etc.) Browsers nowadays are very smart to render anything you throw at it gracefully but that

[Lift] Re: Overriding widgets stylesheets

2009-08-30 Thread Indrajit Raychaudhuri
4. Additionally, you have to add this in Boot environment. Often we end up missing out on this step, or don't get the pattern right :) ResourceServer.allow { case _ :: style.css :: Nil = true } Of course, you can narrow the PF argument to better adjust to the need. Cheers, Indrajit On Aug

[Lift] Re: Overriding widgets stylesheets

2009-08-30 Thread Indrajit Raychaudhuri
this because In Boot you are already calling CalendarMonthlyView.init Br's, Marius On Aug 30, 7:22 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: 4. Additionally, you have to add this in Boot environment. Often we end up missing out on this step, or don't get the pattern right

[Lift] Re: what's in Classpath?

2009-08-31 Thread Indrajit Raychaudhuri
All that you see under src/main/resources/toserve are available via /classpath prefix. Specifically, you would be interested in the toserve path under lift- webkit and lift-widgets. The ones bundled with lift-webkit are available with zero config, just refer to them via /classpath/... in your

[Lift] Re: Ajax in ToDo application hanging

2009-09-01 Thread Indrajit Raychaudhuri
Additionally, you need to adjust the Boot.scala 1. Add: import _root_.net.liftweb.http.provider._ 2. Remove: all of import _root_.javax.servlet.http._ 3 Change the req argument type in makeUtf8 to HTTPRequest instead of HttpServletRequest so that the signature looks thus: private def

[Lift] Re: Mapper and Primary Keys

2009-09-02 Thread Indrajit Raychaudhuri
Som, 1. Your source code had dbAutoGenerated_?. The actual function is dbAutogenerated_? (g is in lower case). Hope you have the right case for 'g' one :) 2. If your project model (pom.xml) has lift versions set to 1.1- SNAPSHOT, you must be on the master and thus on the latest code. FWIW,

[Lift] Re: Lift and Cappuccino integration... a first step

2009-09-04 Thread Indrajit Raychaudhuri
Great stuff. Now how about an archetype for this? Cheers, Indrajit On Sep 4, 3:10 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Hearkening back to my NextStep days, I took a dive into Cappuccino today. Yep... Obj-J is just like Obj-C and Cappuccino faithfully captures AppKit

[Lift] Re: Lift and Cappuccino integration... a first step

2009-09-05 Thread Indrajit Raychaudhuri
going on in the capp codebase... IMHO, lets wait until 0.8 is released then make an archetype against that. Cheers, Tim On 4 Sep 2009, at 09:39, Indrajit Raychaudhuri wrote: Great stuff. Now how about an archetype for this? Cheers, Indrajit On Sep 4, 3:10 am, David

[Lift] Re: Lift and Cappuccino integration... a first step

2009-09-05 Thread Indrajit Raychaudhuri
of the main Lift repository/distribution (although it would still be available on Maven).  Cappuccino has a ton of LGPL code in it and itself is LGPL.  I'd rather not mix licensing models in the stuff we keep in the main Lift repository. On Sat, Sep 5, 2009 at 3:47 AM, Indrajit Raychaudhuri indraj

[Lift] Re: putting data in a session

2009-09-06 Thread Indrajit Raychaudhuri
object FooVar extends SessionVar[Box[String]](Empty) // to set FooVar.set(Full(fooValToSet)) // to retreive val foo = FooVar.is.openOr(Not found) Cheers, Indrajit On Sep 7, 12:36 am, jack jack.wid...@gmail.com wrote: How do I put something in the session from one page and take it out from

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Indrajit Raychaudhuri
You can typically leave out lift-util in most cases (just remove the dependency element in the pom) because most of other higher order modules (like lift-webkit) depend on lift-util and therefore would be transitively included during the build. Cheers, Indrajit On Sep 10, 7:28 pm, Timothy

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-12 Thread Indrajit Raychaudhuri
Also, the LiftRules.parseDate function currently does DateTime parsing, so I would have to make a breaking change to rename it to parseDateTime and add new parseDate and parseTime (and associated format methods). Thoughts? I think this is the right solution. Don't know how much will

[Lift] Re: email encoding problem

2009-09-12 Thread Indrajit Raychaudhuri
==_Part_0_21171036.1252770284921 --=_Part_0_21171036.1252770284921 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit p??/p --=_Part_0_21171036.1252770284921-- I don't know how to set Content-Type ... On Sep 12, 10:34 pm, Indrajit Raychaudhuri indraj...@gmail.com

[Lift] Re: how / where to set the runmode of a lift application?

2009-09-13 Thread Indrajit Raychaudhuri
If you are modifying web.xml, doing it via env-entry/ and having it available via JNDI (java:comp/env) [1] seems closest. However, I am not sure that would be available via System.getProperty (). Alternately, try jetty.xml (or jetty-env.xml, if possible) [2][3] to do something like: Call

[Lift] Re: using jquery 1.3.2 and 'tabs'

2009-09-13 Thread Indrajit Raychaudhuri
David, 1. Lift includes jquery-1.3.2, just do: script id=jquery src=/classpath/jquery.js type=text/ javascript/script and your done. 2. For the other stuff: a. Put the files in src/main/resources/toserve/ui (e.g., src/main/ resources/toserve/ui/ui.tabs.js) b. Add them to

[Lift] Re: Lift deal breakers

2009-09-14 Thread Indrajit Raychaudhuri
On Sep 14, 7:35 am, Charles F. Munat c...@munat.com wrote: But we've got a desideratum, anyway. Maybe down the road someone will have time to look at it. Thanks for the clarification! And also enable somebody (myself) take a pause and (re-)learn/ understand many important concepts in the

[Lift] Re: Why isn't this a trait in lift-json?

2009-09-14 Thread Indrajit Raychaudhuri
Absolutely, and just limit to that, no more. /Indrajit On Sep 14, 11:22 pm, Viktor Klang viktor.kl...@gmail.com wrote: For me, annotations in Scala are permissible when having to deal with Java frameworks that need annotations to work. (examples: JAX-RS, JPA et al) On Mon, Sep 14, 2009 at

[Lift] Re: Alternate Lift builds?

2009-09-19 Thread Indrajit Raychaudhuri
Dependency classifier might be close to what you'd need. See the 'Classifier' section in http://maven.apache.org/pom.html#Dependencies So, you could create a build profile (disabled by default), say dppactor as so: profiles profile iddppactor/id activation

[Lift] Re: table does not exist

2009-09-19 Thread Indrajit Raychaudhuri
Could this be a case of jvm on windows locking some files? Cheers, Indrajit On Sep 19, 11:38 pm, Tobias Daub hannes.flo...@gmx.li wrote: Hey David, I don't know what I did differently, but now, after the 5th mvn clean, the problem disappeard. Really don't know why, or what happened. Sorry

[Lift] Re: Alternate Lift builds?

2009-09-19 Thread Indrajit Raychaudhuri
19, 2009 at 6:28 PM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: Dependency classifier might be close to what you'd need. See the 'Classifier' section in http://maven.apache.org/pom.html#Dependencies So, you could create a build profile

[Lift] Re: Alternate Lift builds?

2009-09-20 Thread Indrajit Raychaudhuri
one. Also, do you have rights on Hudson/Nexus on scala-tools.org http://scala-tools.org? If not, please send mail to ad...@scala-tools.org mailto:ad...@scala-tools.org I don't. Have sent mail. On Sat, Sep 19, 2009 at 12:58 PM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj

[Lift] Re: Alternate Lift builds?

2009-09-21 Thread Indrajit Raychaudhuri
these builds pass the version in to maven. On Mon, Sep 21, 2009 at 9:42 AM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: Ryan, Nice workflow! But I guess this works better when one is a Hudson build and the other a manual build. What David was looking

[Lift] Re: [Lift committers] Re: Welcome Indrajit Raychaudhuri to the Lift Committers

2009-09-23 Thread Indrajit Raychaudhuri
added the maven stuff into Lift in order to (try) to make RunCodeRun do continuous integration. Yes, figured that. Curiosity: Anything that Hudson cannot handle that RCR can? On Sat, Sep 19, 2009 at 9:59 AM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote

[Lift] Re: [Lift committers] Re: Welcome Indrajit Raychaudhuri to the Lift Committers

2009-09-24 Thread Indrajit Raychaudhuri
On 24/09/09 2:59 PM, Heiko Seeberger wrote: One comment re the scala versions: I don't know about maven, but for other build systems, I don't think this completely solves the problem. Indrajit was talking about Maven and how to improve the POMs (project description files which

[Lift] Re: [Lift committers] Welcome Indrajit Raychaudhuri to the Lift Committers

2009-09-24 Thread Indrajit Raychaudhuri
On Sep 24, 11:45 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Sep 24, 2009 at 11:30 AM, Timothy Perrett timo...@getintheloop.euwrote: This refactoring *must* be done in a branch... we don't want to inadvertently break a whole bunch of peoples projects. Actually, this

[Lift] Re: XML - JSON converter?

2009-09-24 Thread Indrajit Raychaudhuri
On 24/09/09 2:34 PM, Timothy Perrett wrote: Nice stuff Joni! Indeed. That this module gets lots of love shows. Everything nice and tidy in a neat little package. Did I mention that it's test cases serve as docs too? /Indrajit Cheers, Tim On 24 Sep 2009, at 08:24, Joni Freeman wrote:

[Lift] RFC: Restructuring Lift Codebase

2009-09-27 Thread Indrajit Raychaudhuri
Folks, As followup to the proposed goal of Keeping lift-core neat and small, here is the first iteration of the revised structure of Lift codebase. liftweb - lift-core [10] - lift-base [02] - lift-actor - lift-util - lift-json [03] - lift-webkit [04] - lift-testkit [05] -

[Lift] Re: Removing Scala Actors from Lift

2009-09-29 Thread Indrajit Raychaudhuri
+1, more so because other apps not using much of lift 'web'by stuff could use this too. Couple of options: 1. lift-common (along the lines of Jakarta Commons - not intuitive, but Java developers used to Jakarta Commons would be able to relate) 2. Actually naming lift-base as lift-util and

[Lift] Re: Question about the Getting Started Guide

2009-09-29 Thread Indrajit Raychaudhuri
Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Indrajit Raychaudhuri
Great! The downloaded files are stored in ${user.home}/.m2/repository. ${user.home} is the standard Java environment variable that defaults to $HOME in *nix and $USERPROFILE in Windows. [1] Setting proxies and other environment stuff can be done via settings:

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Indrajit Raychaudhuri
Derek, Very nice trick indeed! Cheers, Indrajit On 30/09/09 6:28 PM, Derek Chen-Becker wrote: If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0;

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Indrajit Raychaudhuri
Nice to see the intent to withstand little breakage for the right reason! I am +0 on lift-common. It possibly doesn't mean much, but the only reason I proposed it as an option is because most people with exposure to Java projects have encountered jakarta-common and in some sense have *-common

[Lift] Re: Javascript Commands

2009-10-01 Thread Indrajit Raychaudhuri
That should read JsCmds.JsCrVar(...) Cheers, Indrajit On 02/10/09 4:39 AM, sunanda wrote: Thanks Derek. But I get the following errors: found : net.liftweb.http.js.JE.Call required: java.lang.String x= JE.Call(foo,2) ^ C:\J\BrandNET\eclipse_workspace\GridXml_Lift2.0\src\main\scala\net

[Lift] RFC: Restructuring Lift Codebase [Round 2]

2009-10-02 Thread Indrajit Raychaudhuri
Folks, Following up from the previous round, I am summarizing what we discussed so far with an attempt to converge and move on to impl. Would be keen to have feedback and possibly arrive at some resolution on the outstanding items. (Meaty stuff below the module structure) liftweb - lift-core

[Lift] Re: log4j

2009-10-02 Thread Indrajit Raychaudhuri
You can of course use slf4j instead of log4j in your application. Quick steps: 1. Exclude log4j from dependency tree by adding exclusion filter in lift-webkit dependency. POM should look something like this: dependency groupIdnet.liftweb/groupId

[Lift] Re: RFC: Restructuring Lift Codebase [Round 2]

2009-10-02 Thread Indrajit Raychaudhuri
On Oct 2, 5:39 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Oct 2, 2009 at 3:43 AM, Indrajit Raychaudhuri indraj...@gmail.comwrote: Folks, Following up from the previous round, I am summarizing what we discussed so far with an attempt to converge and move

[Lift] Re: Lift compiled against 2.7.7.RC1

2009-10-03 Thread Indrajit Raychaudhuri
Folks, Lift snapshot artifacts built on Scala 2.7.7.RC1 are now available in scala-tools repository. The artifacts follow the version pattern 1.1-scala2.7.7.RC1-SNAPSHOT. So they are all available in the usual snapshot repository location (http://scala-tools.org/repo-snapshots) as

[Lift] Re: RFC: Restructuring Lift Codebase [Round 2]

2009-10-03 Thread Indrajit Raychaudhuri
On 02/10/09 6:25 PM, David Pollak wrote: On Fri, Oct 2, 2009 at 5:53 AM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: On Oct 2, 5:39 pm, David Pollak feeder.of.the.be...@gmail.com mailto:feeder.of.the.be...@gmail.com wrote: On Fri, Oct 2

[Lift] Re: RFC: Restructuring Lift Codebase [Round 2]

2009-10-03 Thread Indrajit Raychaudhuri
/0bae3866bbc6d581 Of these, #1 doesn't hold true anymore, thus nullified. Cheers, Indrajit Br's, Marius On Oct 3, 7:33 pm, Indrajit Raychaudhuriindraj...@gmail.com wrote: On 02/10/09 6:25 PM, David Pollak wrote: On Fri, Oct 2, 2009 at 5:53 AM, Indrajit Raychaudhuri indraj

[Lift] Re: How do you deploy yours?

2009-10-05 Thread Indrajit Raychaudhuri
On 05/10/09 1:37 PM, Timothy Perrett wrote: I know I could write a jetty 6 wrapper, but that is my fallback position as something more OOTB would be preferable. I am in complete agreement with you on this. /Indrajit --~--~-~--~~~---~--~~ You received this

[Lift] Re: How do you deploy yours?

2009-10-05 Thread Indrajit Raychaudhuri
On 05/10/09 5:29 PM, Timothy Perrett wrote: So I just wrote a Jetty 6 wrapper - getting the packaging working was not ideal and not as flexible as Jetty 7 jetty-runner. Yes, just took a look at jetty-runner. Feature wise, it's blows away the older mechanism man! Any thoughts in and

[Lift] Re: Followup: Persisting a mapper with join tables in 1.0.2

2009-10-14 Thread Indrajit Raychaudhuri
On 14/10/09 10:39 PM, Chris wrote: Excellent-thanks. Is this URL published somewhere? I didn't see it on the Lift web page. Not as conveniently as one would love to. We have had some discussion on this. And I volunteered to volunteer. But am running late on this. Cheers, Indrajit On

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Indrajit Raychaudhuri
Hmm, as Tim pointed out, ensure that you have another repository/ section for the snapshots. Looks like that's missing in your pom.xml Put this one within repositories/ section and you'd be good to go: repository idscala-tools-snapshots/id urlhttp://scala-tools.org/repo-snapshots/url

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Indrajit Raychaudhuri
and me, and me ! On 17/10/09 12:34 AM, Marius wrote: pick me, pick me ! On Oct 15, 10:18 pm, Jim Barrowsjim.barr...@gmail.com wrote: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I

[Lift] Re: [request] update lift-openid 's dependency of openid4java to a newer version

2009-10-18 Thread Indrajit Raychaudhuri
Could you please file a ticket? http://github.com/dpp/liftweb/issues Cheers, Indrajit On 18/10/09 11:19 AM, night_stalker wrote: Currently lift-openid is using openid4java 0.9.3, which is a little old and is difficult to find a maven repository to download. I think changing lift-openid's

[Lift] Re: The scala-2.7.5.final.zip can't downlaod, the lift1.1 can work with scala-2.7.6 well ?

2009-10-18 Thread Indrajit Raychaudhuri
On 18/10/09 3:58 PM, Neil.Lv wrote: That means i can't use scala-2.7.6 with lift1.1 ? No you can't and shouldn't. Now my scala version is 2.7.4 whether it work with lift1.1 ? Move to scala version 2.7.5, that's what is recommended at the moment. But then again, you don't need to

[Lift] Re: Rolling out the new Lift Actors code

2009-10-21 Thread Indrajit Raychaudhuri
On 21/10/09 4:05 AM, David Pollak wrote: Folks, I've just pushed the completed Lift Actor code to the dpp_wip_actorize branch. Jonas and I coordinated on the Actor API and Akka Actors will use the same basic trait so Akka Actors could be used to power Lift's Comet. I am ready to push

[Lift] Re: Rolling out the new Lift Actors code

2009-10-21 Thread Indrajit Raychaudhuri
I am ready to push this code to SNAPSHOT.  When I do this, there will be breaking changes to all Lift apps (basically, you'll have to import net.liftweb.base._) We have had some discussion on the list regarding the package name of net.liftweb.base sometime back. (

[Lift] Lift compiled against 2.7.7.RC2 available in scala-tools repository

2009-10-21 Thread Indrajit Raychaudhuri
Folks, Lift snapshot artifacts built on Scala 2.7.7.RC2 are now available in scala-tools repository. The artifacts follow the version pattern 1.1-scala2.7.7.RC2-SNAPSHOT. So they are all available in the usual snapshot repository location (http://scala-tools.org/repo-snapshots) as

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-21 Thread Indrajit Raychaudhuri
Code change should suffice. pom.xml updates won't be necessary since lift-util has lift-common as dependency and your application (which must be having lift-util as dependency) would resolve the lift-common dependency transitively. Cheers, Indrajit On 22/10/09 10:57 AM, Jonathan Ferguson

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Indrajit Raychaudhuri
Same ocassional failure locally for me too. In fact, it mostly fails unless I am having a lucky day :) I keep getting confused about this and eventually get tempted to disable jta during build. FWIW, I am mostly on Leopard with Maven 2.2.1. Java 1.5 or 1.6 doesn't appear to make any

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Indrajit Raychaudhuri
Nice find. Never had the patience to dig. Thanks! - Indrajit On 22/10/09 8:38 PM, Derek Chen-Becker wrote: I can verify that the JAR on lion doesn't have the getUnitName def: de...@lion:/home/scalatools/hudson/.m2/repository/org/scala-libs/scalajpa/1.1$ javap -private -classpath

[Lift] Re: NetBeans is barfing on the new pom.xml structure

2009-10-24 Thread Indrajit Raychaudhuri
Plugin and extension versions are optional in Maven pom. Not providing the version has a small advantage - it defaults to RELEASE and pulls up the latest release automatically. While it's possible that a plugin version would have backward incomplete changes, in Lift we hardly do anything

[Lift] Re: NetBeans is barfing on the new pom.xml structure

2009-10-24 Thread Indrajit Raychaudhuri
Thanks davidB for pointing! On 24/10/09 9:19 PM, David Bernard wrote: Not setting version of plugin : * create un-reproductible build (over time and developer configuration). Just found this one too: http://www.mail-archive.com/d...@maven.apache.org/msg82398.html. I had no idea that the

[Lift] Re: NetBeans is barfing on the new pom.xml structure

2009-10-25 Thread Indrajit Raychaudhuri
artifactIdincremental-build-plugin/artifactId version1.2/version /plugin /plugins /pluginManagement On Sat, Oct 24, 2009 at 18:55, Indrajit Raychaudhuri indraj...@gmail.com wrote: Thanks davidB for pointing! On 24/10/09 9:19 PM, David Bernard wrote

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-25 Thread Indrajit Raychaudhuri
Tim, That's odd indeed. Hopefully your local repository is not broken. Can you please attempt it on the branch irc_wip_restruct_stage and see if it happens there too? If it still persists for you I'll take a look later in the day. Cheers, Indrajit On 26/10/09 12:42 AM, Timothy Perrett

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-26 Thread Indrajit Raychaudhuri
this ASAP as its annoying as hell to have to build separate modules. Cheers, Tim On 26 Oct 2009, at 04:39, Indrajit Raychaudhuri wrote: Tim, That's odd indeed. Hopefully your local repository is not broken. Can you please attempt it on the branch irc_wip_restruct_stage and see if it happens

[Lift] Re: Flot Demo Broken

2009-10-26 Thread Indrajit Raychaudhuri
Yes please, file a ticket. Just noticed, oddly flotDemo isn't part of the reactor either (not listed as sub-module for lift-examples). Would have been trapped by now otherwise. Cheers, Indrajit On 27/10/09 12:54 AM, Peter Robinett wrote: The flot demo in lift-examples/flotDemo on

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-30 Thread Indrajit Raychaudhuri
Oct 2009, at 10:49, Indrajit Raychaudhuri wrote: Tim, That's confusing to me too. I was trying to see if it has something related to the problem that affects Netbeans. Looks like it's not. Can you please send me the output of mvn goal with -X switch? Cheers, Indrajit On 26/10/09 2:23 PM

[Lift] Re: The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist

2009-10-30 Thread Indrajit Raychaudhuri
9:21 PM, David Pollak wrote: On Fri, Oct 30, 2009 at 7:44 AM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: Tim, Got it! I'll try to fix this and post it in few hours. Committers, is it possible to make an exception to the cut off date

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Indrajit Raychaudhuri
Parser failing for sure. Hope your local repo isn't corrupt by some chance. /IRC On 01/11/09 9:24 AM, Naftoli Gugenheim wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... WAGON_VERSION:

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Indrajit Raychaudhuri
Josh, Of late, I have deploying/configuring Lift's POM files. Have been using UTF-8 all along. I have encountered this earlier while parsing XMLs (unrelated to Lift, Maven). Don't recall how it got fixed :( In this case, probably causes could be: - different encoding of pom - different

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-02 Thread Indrajit Raychaudhuri
Troy, Thanks for the analysis. We need to fix the pom for JPADemo archetype. Can you please file a ticket for this (http://github.com/dpp/liftweb/issues)? We'll update the pom and resolve the slf4j dependencies. Cheers, Indrajit NB: We might just make it for M7 if all goes well. Else, it'll

[Lift] Re: JPADemo 1.1-SNAPSHOT: id with auto-increment (MySQL or H2)

2009-11-03 Thread Indrajit Raychaudhuri
Thank you Troy for the detailed ticket! A fix is up for review: http://reviewboard.liftweb.net/r/90/ slf4j-simple is preferred common denominator. slf4j-nop is self-defeating IMHO :) Good point regarding slf4j-log4j12 for legacy fallback. I have added an inline note in the POM. Cheers,

[Lift] Re: javax.mail 1.4.3-SNAPSHOT

2009-11-05 Thread Indrajit Raychaudhuri
On 06/11/09 2:24 AM, aw wrote: I upgraded to 1.1-M7 and was surprised to see that javax.mail-1.4.3- SNAPSHOT is now appearing as a dependency. Generally speaking, we don't want SNAPSHOT dependencies because they aren't re-creatable, but somehow, it sneaked into the Java.Net Maven 2

[Lift] Re: lift jpa maven

2009-11-05 Thread Indrajit Raychaudhuri
The archetypes needs some spit and polish. I'll take them up next week. Cheers, Indrajit On 06/11/09 2:54 AM, David Pollak wrote: Hmmm... I am seeing the same thing. It appears that there's no archetype.xml file as part of the archetype JARs. Please file a ticket here:

[Lift] Re: Latest API Documentation

2009-11-05 Thread Indrajit Raychaudhuri
Of course we build the entire documentation during a snapshot build. See: http://scala-tools.org/mvnsites-snapshots/liftweb/ for the latest and greatest. The scaladoc stays in the Project Report section for respective package. However, we still don't 'aggregate' the generated scaladoc by

[Lift] Re: Changes to scala-tools.org Hudson

2009-11-05 Thread Indrajit Raychaudhuri
Josh, thank you for driving us do the 'right thing' :) Hudson build would trigger when the pom.xml changes. So do you want your fork (b9588f...) to be applied right away. Or do you want us to wait for a pre-set time for the transition? Committers, do you insist a ticket/reviewboard for this.

[Lift] Re: javax.mail 1.4.3-SNAPSHOT

2009-11-11 Thread Indrajit Raychaudhuri
Fixed, and in master. http://github.com/dpp/liftweb/commit/0cac04cb0d05c07a222d07f980ecf9946ec49588 Cheers, Indrajit On Nov 7, 9:41 am, aw anth...@whitford.com wrote: Looking at this:  http://download.java.net/maven/2/javax/mail/mail/ it would seem that Sun is close to releasing JavaMail

[Lift] failed to find baseUri for ...

2009-11-14 Thread Indrajit Raychaudhuri
Folks, This error failed to find baseUri for ... that showed up during Lift site build (mvn site) should go away with the new vscaladoc packageLinkDefs mechanism we have in the master now. Earlier we had a single top level property file for the purpose which relied on the fact that the

[Lift] Re: regarding maven archetype:generate

2009-11-15 Thread Indrajit Raychaudhuri
Add -DarchetypeRepository=http://scala-tools.org/repo-snapshots That means, modify the command as thus: mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=1.1-SNAPSHOT

[Lift] Re: org.igniterealtime.smack:smack:jar:3.1.0 missing

2009-11-16 Thread Indrajit Raychaudhuri
The library comes from a different Maven repo: http://maven.reucon.com/public/ This site hits 503 Service Temporarily Unavailable currently. I am guess you have nuked the ~/.m2 repo as part of your Monday morning ritual and don't have it in local repo either :) - Indrajit On 17/11/09 12:18

[Lift] Re: org.igniterealtime.smack:smack:jar:3.1.0 missing

2009-11-16 Thread Indrajit Raychaudhuri
On 17/11/09 12:37 AM, David Pollak wrote: On Mon, Nov 16, 2009 at 11:03 AM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: The library comes from a different Maven repo: http://maven.reucon.com/public/ This site hits 503 Service Temporarily

Re: [Lift] Re: Lots of compile-time cruft

2009-11-16 Thread Indrajit Raychaudhuri
On 17/11/09 5:26 AM, Kris Nuttycombe wrote: On Mon, Nov 16, 2009 at 4:33 PM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: On Mon, Nov 16, 2009 at 4:28 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm seeing a lot of: [INFO] Unable to find resource

[Lift] Re: Call it Lift 2.0

2009-11-17 Thread Indrajit Raychaudhuri
On Nov 17, 11:38 am, Heiko Seeberger heiko.seeber...@googlemail.com wrote: 2009/11/17 David Pollak feeder.of.the.be...@gmail.com The current Lift is not a major change to Lift 1.0, it's a minor progression and a lot of tuning of the developer experience. There are breaking changes to the

Re: [Lift] replay prevention tokens

2009-11-17 Thread Indrajit Raychaudhuri
See formFuncName in net/liftweb/http/S.scala (lift-webkit). Cheers, Indrajit On 17/11/09 5:25 PM, opyate wrote: Hello Lifters, Could someone please point out which part of the Lift code takes care of generating unique names for form elements? (I'll delve in in the interim) I'm bleeding

Re: [Lift] Missing source files in 1.1-SNAPSHOT

2009-11-18 Thread Indrajit Raychaudhuri
Still, something looks wrong: http://scala-tools.org/repo-releases/net/liftweb/lift-webkit/1.1-M7/lift-webkit-1.1-M7-sources.jar has the .scala sources but http://scala-tools.org/repo-snapshots/net/liftweb/lift-webkit/1.1-SNAPSHOT/lift-webkit-1.1-SNAPSHOT-sources.jar doesn't. - Indrajit

Re: [Lift] Missing source files in 1.1-SNAPSHOT

2009-11-18 Thread Indrajit Raychaudhuri
Tried a local build, sources.jar contains the *.scala files. And so does 1.1-M7. In both cases, they were built outside Hudson (Chas probably builds outside Hudson). At the moment I am suspecting Hudson, needs more investigation. - Indrajit On 19/11/09 1:49 AM, Jeppe Nejsum Madsen wrote:

Re: [Lift] Welcome Ross Mellgren to the Lift Committers

2009-11-19 Thread Indrajit Raychaudhuri
Welcome Ross! Would look forward to more of those well thought out responses. Cheers, Indrajit On 20/11/09 6:08 AM, David Pollak wrote: Folks, I'm pleased to announce that Ross Mellgren has joined the Lift committers. He's been a very helpful voice on the list for a while now and he's

Re: [Lift] Newbie Question: Problems compiling/running examples

2009-11-22 Thread Indrajit Raychaudhuri
I intend to go ahead and enforce a minimum Maven version. http://github.com/dpp/liftweb/issues/203/find - Indrajit On 23/11/09 9:31 AM, David Pollak wrote: Try running with Maven 2.2.x I think the latest Scala Maven plugin may require a version of Maven newer than 2.0.9 On Sun, Nov 22,

[Lift] Re: Broken 1.1-M7 jpa archetypes

2009-11-27 Thread Indrajit Raychaudhuri
Fixed in snapshot repo :) The following command should give you a good project now. mvn archetype:generate -DarchetypeRepository=http://scala-tools.org/ repo-snapshots -DremoteRepositories=http://scala-tools.org/repo- snapshots -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-

[Lift] Refactoring Round 2

2009-11-27 Thread Indrajit Raychaudhuri
Folks, In continuation to the refactoring initiative and following up on the discussion that we had on the last committers call, here we have the next round of broad based project structure refactoring proposal. This is themed around the idea of splitting the build system into separate smaller

[Lift] Re: vscaladoc broken?

2009-11-30 Thread Indrajit Raychaudhuri
Tim, The scala-tools maven site honors the package link defs. Did you do scaladoc generation as part site build or as part of scala:doc? I am assuming you did the later. And quite likely the configuration for the jvmArgs (-DpackageLinkDefs in particular) isn't getting propagated from report

Re: [Lift] Re: vscaladoc broken?

2009-11-30 Thread Indrajit Raychaudhuri
, at 13:16, Indrajit Raychaudhuri wrote: Tim, The scala-tools maven site honors the package link defs. Did you do scaladoc generation as part site build or as part of scala:doc? I am assuming you did the later. And quite likely the configuration for the jvmArgs (-DpackageLinkDefs

Re: [Lift] **URGENT** Archetypes broken

2009-11-30 Thread Indrajit Raychaudhuri
On 01/12/09 10:58 AM, David Pollak wrote: On Mon, Nov 30, 2009 at 8:25 PM, Ross Mellgren dri...@gmail.com mailto:dri...@gmail.com wrote: It looks like they work to me. I'm using this: ... snip/ ... I note you're using archetype:create? The wiki says

Re: [Lift] **URGENT** Archetypes broken

2009-11-30 Thread Indrajit Raychaudhuri
On 01/12/09 11:30 AM, Ross Mellgren wrote: On Dec 1, 2009, at 12:28 AM, David Pollak wrote: On Mon, Nov 30, 2009 at 8:25 PM, Ross Mellgren dri...@gmail.com mailto:dri...@gmail.com wrote: archetype:create was working up through last week. There were no **BREAKING CHANGES** notifications.

[Lift] **BREAKING CHANGES**: Use mvn archetype:generate to generate 1.1-SNAPSHOT archetypes

2009-12-01 Thread Indrajit Raychaudhuri
Friends, Following the recent refactoring that the Lift archetypes went though, we have moved forward to the new archetype metadata format [1] for all the archetypes. So far, the JPA related archetypes were using the new metadata format while the others (esp. lift-archetype-blank and

Re: [Lift] **URGENT** Archetypes broken

2009-12-01 Thread Indrajit Raychaudhuri
On 01/12/09 7:59 PM, David Pollak wrote: On Mon, Nov 30, 2009 at 11:23 PM, Indrajit Raychaudhuri indraj...@gmail.com mailto:indraj...@gmail.com wrote: On 01/12/09 10:58 AM, David Pollak wrote: On Mon, Nov 30, 2009 at 8:25 PM, Ross Mellgren dri...@gmail.com

  1   2   3   >