*Urgent* Some of the example code is not compiling

23 views
Skip to first unread message

David Pollak

unread,
Feb 8, 2011, 6:51:22 PM2/8/11
to liftweb
Indrajit,

I am trying to build some of the example code and it's not building.

Basically, none of the Scala classes in examples/example or examples/skitter are being compiled.

Can you look into it?

Thanks,

David

--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics

Indrajit Raychaudhuri

unread,
Feb 8, 2011, 10:30:28 PM2/8/11
to lif...@googlegroups.com
David,

Something is falling though the crack :( I have added reference to
lift-parent for now. Additionally, java-scala mixed build needs to be
set up. I'll do that and investigate the rest in a couple of hours.

- Indrajit

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

David Pollak

unread,
Feb 9, 2011, 12:58:11 AM2/9/11
to lif...@googlegroups.com
Now I'm getting:

dpp@appa:~/proj/lift/examples$ mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT

Reason: Cannot find parent: net.liftweb:lift-parent_2.8.1 for project: net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT for project net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: net.liftweb:lift-parent_2.8.1 for project: net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT for project net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: net.liftweb:lift-parent_2.8.1 for project: net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT for project net.liftweb:examples_2.8.1:pom:2.3-SNAPSHOT
    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
    at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
    at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
    at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
    at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
    ... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'net.liftweb:lift-parent_2.8.1' not found in repository: Unable to download the artifact from any repository

  net.liftweb:lift-parent_2.8.1:pom:2.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

 for project net.liftweb:lift-parent_2.8.1
    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
    ... 18 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

  net.liftweb:lift-parent_2.8.1:pom:2.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
    ... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
    ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Feb 08 21:57:17 PST 2011
[INFO] Final Memory: 3M/240M
[INFO] ------------------------------------------------------------------------
dpp@appa:~/proj/lift/examples$

Indrajit Raychaudhuri

unread,
Feb 9, 2011, 1:55:53 AM2/9/11
to lif...@googlegroups.com
Okay, scala-tools went missing from repositories settings.
This is a 'cone of shame' class error, sorry about it :(

- Indrajit

> <mailto:lif...@googlegroups.com>.


> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com

> <mailto:lif...@googlegroups.com>.


> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>.


> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> Surf the harmonics
>

Jeppe Nejsum Madsen

unread,
Feb 9, 2011, 4:25:18 AM2/9/11
to lif...@googlegroups.com
Indrajit Raychaudhuri <indr...@gmail.com> writes:

> Okay, scala-tools went missing from repositories settings.
> This is a 'cone of shame' class error, sorry about it :(

No worries, as long as we get the cone pics :-)

/Jeppe

Indrajit Raychaudhuri

unread,
Feb 9, 2011, 5:29:59 AM2/9/11
to lif...@googlegroups.com
Okay, examples gone full SBT too. So no need to bother when you wake up.

I have also done one round of rearrangement. I'll make few more changes
in the names and put a bunch of 'readme's inline later on once things
stabilize a bit.

- Indrajit

Indrajit Raychaudhuri

unread,
Feb 9, 2011, 5:30:43 AM2/9/11
to lif...@googlegroups.com

Yes, coming up. Had been living dangerously for last few days anyway,
and was expecting this cone anytime :(

- Indrajit

>
> /Jeppe
>

AGYNAMIX Torsten Uhlmann

unread,
Feb 9, 2011, 5:37:49 AM2/9/11
to lif...@googlegroups.com
Thanks!

Is the new snapshot build already online?

Torsten.
Mit freundlichen Grüßen,
Kind Regards,

Torsten Uhlmann

-- 
Torsten Uhlmann
AGYNAMIX(R). Passionate Software.
Inh. Torsten Uhlmann
Buchenweg 5, 09380 Thalheim
Phone:       +49 3721 273445
Fax:             +49 3721 273446
Mobile:       +49 151 12412427
Web:           http://www.agynamix.de
Skype:        torsten.uhlmann
Facebook, Twitter: agynamix

Indrajit Raychaudhuri

unread,
Feb 9, 2011, 6:07:59 AM2/9/11
to lif...@googlegroups.com
Torsten,

Yes, it's all up there. I have pushed it to master.
Let me know how it goes for you.

- Indrajit

>>>> <mailto:liftweb+u...@googlegroups.com>


>>>> <mailto:liftweb%2Bunsu...@googlegroups.com>.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/liftweb?hl=en.
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Lift" group.
>>>> To post to this group, send email to lif...@googlegroups.com
>>>> <mailto:lif...@googlegroups.com>
>>>> <mailto:lif...@googlegroups.com>.
>>>> To unsubscribe from this group, send email to
>>>> liftweb+u...@googlegroups.com

>>>> <mailto:liftweb+u...@googlegroups.com>


>>>> <mailto:liftweb%2Bunsu...@googlegroups.com>.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/liftweb?hl=en.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lift, the simply functional web framework http://liftweb.net
>>>> Beginning Scala http://www.apress.com/book/view/1430219890
>>>> Follow me: http://twitter.com/dpp
>>>> Blog: http://goodstuff.im
>>>> Surf the harmonics
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Lift" group.

>>>> To post to this group, send email to lif...@googlegroups.com
>>>> <mailto:lif...@googlegroups.com>.
>>>> To unsubscribe from this group, send email to
>>>> liftweb+u...@googlegroups.com

>>>> <mailto:liftweb+u...@googlegroups.com>.


>>>> For more options, visit this group at
>>>> http://groups.google.com/group/liftweb?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Lift" group.
>> To post to this group, send email to lif...@googlegroups.com
>> <mailto:lif...@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> liftweb+u...@googlegroups.com

>> <mailto:liftweb+u...@googlegroups.com>.


>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=en.
>>
>

> Mit freundlichen Gr��en,


> Kind Regards,
>
> Torsten Uhlmann
>
> --
> Torsten Uhlmann
> AGYNAMIX(R). Passionate Software.
> Inh. Torsten Uhlmann
> Buchenweg 5, 09380 Thalheim
> Phone: +49 3721 273445
> Fax: +49 3721 273446
> Mobile: +49 151 12412427

> Web: http://www.agynamix.de <http://www.agynamix.de/>


> Skype: torsten.uhlmann
> Xing: https://www.xing.com/profile/Torsten_Uhlmann2
> LinkedIn: http://www.linkedin.com/in/torstenuhlmann
> Facebook, Twitter: agynamix
>

David Pollak

unread,
Feb 9, 2011, 8:50:01 AM2/9/11
to lif...@googlegroups.com
On Wed, Feb 9, 2011 at 3:07 AM, Indrajit Raychaudhuri <indr...@gmail.com> wrote:
Torsten,

Yes, it's all up there. I have pushed it to master.
Let me know how it goes for you.

Cool.  Does that include the modules?

Also, I know you've been working very hard on stabilizing the new build structure, but if you could put up a wiki page on how committers with Nexus access rights can publish snapshots, that'd be most excellent.  Then I can publish snapshots to Nexus whenever I need to.
 

Mit freundlichen Grüßen,

Indrajit Raychaudhuri

unread,
Feb 9, 2011, 9:55:25 AM2/9/11
to lif...@googlegroups.com
David,

David Pollak wrote:
>
>
> On Wed, Feb 9, 2011 at 3:07 AM, Indrajit Raychaudhuri
> <indr...@gmail.com <mailto:indr...@gmail.com>> wrote:
>
> Torsten,
>
> Yes, it's all up there. I have pushed it to master.
> Let me know how it goes for you.
>
>
> Cool. Does that include the modules?

Yes, it does.

>
> Also, I know you've been working very hard on stabilizing the new build
> structure, but if you could put up a wiki page on how committers with
> Nexus access rights can publish snapshots, that'd be most excellent.
> Then I can publish snapshots to Nexus whenever I need to.

The point on 'Publishing' under Building section in the wiki page [1]
covers this. All you want is:

./liftsh 'set publish.remote true' update publish

- Indrajit


[1] http://www.assembla.com/wiki/show/liftweb/Building_Lift

> <mailto:indr...@gmail.com>>

> <mailto:lif...@googlegroups.com>>


> <mailto:lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>
> <mailto:liftweb+u...@googlegroups.com
> <mailto:liftweb%2Bunsu...@googlegroups.com>>
>
> <mailto:liftweb%2Bunsu...@googlegroups.com
> <mailto:liftweb%252Buns...@googlegroups.com>>.


> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
> --
> You received this message because you are subscribed
> to the Google
> Groups "Lift" group.
> To post to this group, send email to
> lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>
> <mailto:lif...@googlegroups.com

> <mailto:lif...@googlegroups.com>>


> <mailto:lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>
> <mailto:liftweb+u...@googlegroups.com
> <mailto:liftweb%2Bunsu...@googlegroups.com>>
>
> <mailto:liftweb%2Bunsu...@googlegroups.com
> <mailto:liftweb%252Buns...@googlegroups.com>>.


> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
>
> --
> Lift, the simply functional web framework
> http://liftweb.net
> Beginning Scala
> http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> Surf the harmonics
>
> --
> You received this message because you are subscribed
> to the Google
> Groups "Lift" group.
> To post to this group, send email to
> lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>

> <mailto:lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>


> <mailto:liftweb+u...@googlegroups.com
> <mailto:liftweb%2Bunsu...@googlegroups.com>>.
>
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
> --
> You received this message because you are subscribed to the
> Google
> Groups "Lift" group.
> To post to this group, send email to
> lif...@googlegroups.com <mailto:lif...@googlegroups.com>
> <mailto:lif...@googlegroups.com
> <mailto:lif...@googlegroups.com>>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>

> Mit freundlichen Gr��en,


> Kind Regards,
>
> Torsten Uhlmann
>
> --
> Torsten Uhlmann
> AGYNAMIX(R). Passionate Software.
> Inh. Torsten Uhlmann
> Buchenweg 5, 09380 Thalheim
> Phone: +49 3721 273445
> Fax: +49 3721 273446
> Mobile: +49 151 12412427
> Web: http://www.agynamix.de <http://www.agynamix.de/>
>
> Skype: torsten.uhlmann
> Xing: https://www.xing.com/profile/Torsten_Uhlmann2
> LinkedIn: http://www.linkedin.com/in/torstenuhlmann
> Facebook, Twitter: agynamix
>
> --
> You received this message because you are subscribed to the Google
> Groups "Lift" group.

> To post to this group, send email to lif...@googlegroups.com


> <mailto:lif...@googlegroups.com>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com

> <mailto:lif...@googlegroups.com>.
> To unsubscribe from this group, send email to
> liftweb+u...@googlegroups.com

> <mailto:liftweb%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Blog: http://goodstuff.im
> Surf the harmonics
>
> --
> You received this message because you are subscribed to the Google
> Groups "Lift" group.

Reply all
Reply to author
Forward
0 new messages