To avoid the breaking changes for the time being, I just downloaded
the latest 'todo.tgz' today from here:

http://groups.google.com/group/liftweb/t/4b305ab81019df3a

and did:

mvn jetty:run

For the moment I'll just run Maven *offline* from now on, eg:

mvn -o jetty:run

so it won't grab any changes (which might be breaking changes) off the
web.

This way, if I make a change to my code and it breaks, I can be 100%
certain it was because of my change and not someone else's.


I also made a backup copy of the directory containing my local Maven
2.0.9 repository:

~/.m2
(eg, on Windows XP the "home" directory ~ is C:\Documents and Settings
\MyWindowsLoginID)

so if I accidentally run maven *online* and it overwrites stuff in
this directory, I can just restore it by copying in Windows.


I'm not sure if using Maven offline like this is recommended - it's
just my approach.




On Dec 16, 2:49 pm, "David Pollak" <[email protected]>
wrote:
> On Tue, Dec 16, 2008 at 8:05 AM, mike beckerle <[email protected]> wrote:
>
> > Unless you say otherwise, I'm assuming you guys are going to make the
> > changes in the boot and other files that have caused these
> > difficulties as part of your fixes.
>
> The changes are made in the Archetypes and any new projects created will
> include the fixes.  For any existing projects, you have to manually make the
> changes.
>
> For the next 2-3 weeks, it's important to watch the mailing list for
> messages titled *Breaking Changes* as these will likely impact you.
>
> On the other hand, we expect to have Lift 1.0-RC1 out on Jan 2, 2009 and the
> break changes will be extremely rare.
>
>
>
>
>
> > On Dec 14, 8:25 pm, "David Pollak" <[email protected]>
> > wrote:
> > > Mike,
> > > There was a recent breaking change to Lift (Marius and I are doing major
> > > code cleanup and this means lots of breaks to the APIs... this will all
> > end
> > > by the end of the month.)
>
> > > Any of the LiftRules stuff that contains append/prepend has a new form:
>
> > > LiftRules.appendEarly(makeUtf8)
>
> > > becomes:
>
> > > LiftRules.early.append(makeUtf8)
>
> > > Thanks,
>
> > > David
>
> > > On Sun, Dec 14, 2008 at 5:09 PM, mike beckerle <[email protected]>
> > wrote:
>
> > > > Certainly there is nothing blocking java in any way.
>
> > > > However, just trying again, this time it is working better. Somebody
> > > > has fixed something on the server end I'm sure.  I'm doing the exact
> > > > same thing, but it seems to be able to communicate properly with the
> > > > associated servers..
>
> > > > However, mvn jetty:run -U still fails
>
> > > > Downloading:
> > > >http://scala-tools.org/repo-snapshots/net/liftweb/lift-widgets/0.10-S.
> > ..
> > > > 243K<
> >http://scala-tools.org/repo-snapshots/net/liftweb/lift-widgets/0.10-S..
> > .>downloaded
> > > > [INFO] [compiler:compile]
> > > > [INFO] Nothing to compile - all classes are up to date
> > > > [INFO] [scala:compile {execution: default}]
> > > > [INFO] suggestion: remove the scalaVersion from pom.xml
> > > > [ERROR] /home/mbeckerle/todo/src/main/scala
> > > > [INFO] Compiling 3 source files to /home/mbeckerle/todo/target/classes
> > > > Downloading:
> > > >http://scala-tools.org/repo-releases/org/scala-lang/scala-compiler/2..
> > ..
> > > > 6083K<
> >http://scala-tools.org/repo-releases/org/scala-lang/scala-compiler/2...
> > .>downloaded
> > > > [WARNING] /home/mbeckerle/todo/src/main/scala/bootstrap/liftweb/
> > > > Boot.scala:42: error: value appendEarly is not a member of object
> > > > net.liftweb.http.LiftRules
> > > > [WARNING]     LiftRules.appendEarly(makeUtf8)
> > > > [WARNING]               ^
> > > > [WARNING] one error found
> > > > [INFO]
>
> > ------------------------------------------------------------------------
> > > > [ERROR] BUILD FAILURE
> > > > [INFO] ------------------------------
>
> > > > On Dec 14, 2:11 pm, Josh Suereth <[email protected]> wrote:
> > > > > Is your firewall blocking java?  This would cause maven to be unable
> > > > > to download dependencies.
>
> > > > > Sent from my iPhone
>
> > > > > On Dec 14, 2008, at 1:13 PM, mike beckerle <[email protected]>
> > wrote:
>
> > > > > > I can browse to the location just fine. There is no proxy or other
> > > > > > wierdness between me and the internet. Just the usual home firewall
> > > > > > (NAT) device.
>
> > > > > > On Dec 13, 1:45 pm, "David Pollak" <[email protected]>
> > > > > > wrote:
> > > > > >> On Sat, Dec 13, 2008 at 10:34 AM, mike beckerle
> > > > > >> <[email protected]> wrote:
>
> > > > > >>> This did not work. Still failed.
>
> > > > > >>> There are disturbing messages in here about blacklisting sites
> > due
> > > > > >>> to
> > > > > >>> errors and such.
>
> > > > > >>> becke...@ubuntu810desktop:~/todo$ mvn jetty:run -U
> > > > > >>> [INFO] Scanning for projects...
> > > > > >>> [INFO] Searching repository for plugin with prefix: 'jetty'.
> > > > > >>> [INFO] org.apache.maven.plugins: checking for updates from scala-
> > > > > >>> tools.org
> > > > > >>> [WARNING] repository metadata for: 'org.apache.maven.plugins'
> > could
> > > > > >>> not be retrieved from repository: scala-tools.org due to an
> > error:
> > > > > >>> Error transferring file
> > > > > >>> [INFO] Repository 'scala-tools.org' will be blacklisted
>
> > > > > >> This is the problem.  For some reason, you're not able to connect
> > to
> > > > > >> scala-tools.org.
>
> > > > > >> Are you behind an HTTP proxy?
>
> > > > > >> Does the proxy have whitelist/blacklist of sites and/or IP
> > addresses?
>
> > > > > >> Can you browse tohttp://
> > scala-tools.org/repo-snapshots/net/liftweb/
> > > > > >> with
> > > > > >> your web browser?
>
> > > > > >>> [INFO] org.apache.maven.plugins: checking for updates from
> > central
> > > > > >>> [INFO] org.codehaus.mojo: checking for updates from central
> > > > > >>> [INFO] artifact org.scala-tools:maven-scala-plugin: checking for
> > > > > >>> updates from central
> > > > > >>> [INFO]
> > > > > >>> ---
> > > > > >>> ---
>
> > ------------------------------------------------------------------
> > > > > >>> [ERROR] BUILD ERROR
> > > > > >>> [INFO]
> > > > > >>> ---
> > > > > >>> ---
>
> > ------------------------------------------------------------------
> > > > > >>> [INFO] The plugin 'org.scala-tools:maven-scala-plugin' does not
> > > > > >>> exist
> > > > > >>> or no valid version could be found
> > > > > >>> [INFO]
> > > > > >>> ---
> > > > > >>> ---
>
> > ------------------------------------------------------------------
> > > > > >>> [INFO] For more information, run Maven with the -e switch
> > > > > >>> [INFO]
> > > > > >>> ---
> > > > > >>> ---
>
> > ------------------------------------------------------------------
> > > > > >>> [INFO] Total time: 26 seconds
> > > > > >>> [INFO] Finished at: Sat Dec 13 13:29:24 EST 2008
> > > > > >>> [INFO] Final Memory: 1M/4M
> > > > > >>> [INFO]
> > > > > >>> ---
> > > > > >>> ---
>
> > ------------------------------------------------------------------
> > > > > >>> mbecke...@ubuntu810desktop:~/todo$
>
> > > > > >>> On Dec 11, 7:57 am, "David Bernard" <[email protected]>
> > > > > >>> wrote:
> > > > > >>>> The first time you run jetty :
>
> > > > > >>>> mvn jetty:run -U
>
> > > > > >>>> I learn a way to avoid this problem (for futur archetype, I'll
> > > > > >>>> try it
> > > > > >>>> next week-end)
>
> > > > > >>>> /davidB
>
> > > > > >>>> On Thu, Dec 11, 2008 at 13:31, Josh Suereth
> > > > > >>>> <[email protected]>
> > > > > >>> wrote:
> > > > > >>>>> Thanks, and sorry for the typos.
>
> > > > > >>>>> What you want (in either your ~/.m2/settings.xml or
> > > > > >>> ${project.dir}/pom.xml)
> > > > > >>>>> is the following:
>
> > > > > >>>>> <repositories>
> > > > > >>>>>     <repository>
> > > > > >>>>>       <id>scala-tools.org</id>
>
> > > > > >>>>>       <name>Scala-tools Maven2 Repository</name>
> > > > > >>>>>       <url>http://scala-tools.org/repo-releases</url>
> > > > > >>>>>     </repository>
> > > > > >>>>>     <repository>
>
> > > > > >>>>>       <id>snapshots.scala-tools.org</id>
> > > > > >>>>>       <name>Scala-tools Maven2 Snapshot Repository</name>
> > > > > >>>>>       <url>http://scala-tools.org/repo-snapshots</url>
>
> > > > > >>>>>     </repository>
> > > > > >>>>>   </repositories>
>
> > > > > >>>>> On Thu, Dec 11, 2008 at 7:24 AM, Tim Perrett
> > > > > >>>>> <[email protected]>
> > > > > >>> wrote:
>
> > > > > >>>>>> I think Josh meant to say "defined in your pom.xml"
>
> > > > > >>>>>> On Dec 11, 12:14 pm, Josh Suereth <[email protected]>
> > > > > >>>>>> wrote:
> > > > > >>>>>>> Make sure the scala-tools snapshot repository is defined in
> > > > > >>>>>>> your ppm
>
> > > > > >> --
> > > > > >> Lift, the simply functional web frameworkhttp://liftweb.net
> > > > > >> Collaborative Task Managementhttp://much4.us
> > > > > >> Follow me:http://twitter.com/dpp
> > > > > >> Git some:http://github.com/dpp
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Collaborative Task Managementhttp://much4.us
> > > Follow me:http://twitter.com/dpp
> > > Git some:http://github.com/dpp
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Collaborative Task Managementhttp://much4.us
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to