Dependency on warp-core

18 views
Skip to first unread message

WiB

unread,
Oct 20, 2010, 8:16:24 AM10/20/10
to warp-core
Hi all,


First of all, I'm quite new to Guice & warp-persist / warp-core. So..
apology if I'm asking stupid question here.. :)
I've just checked out the source, and it seems that warp-persist has
dependency on warp-core. So I checked out warp-core from SVN. However,
the warp-core JAR file that is checked in to the warp-persist SVN
seems to be different from the warp-core version in the SVN
repository. Am I missing something here? Where can I get the source to
the warp-core version that is checked in to the warp-persist SVN
repository?
Also, I notice that warp-core google project page says that the
project is inactive.... which confuses me more... :(




Thanks guys!



Regards,

WiB.

Dhanji R. Prasanna

unread,
Oct 20, 2010, 9:20:59 AM10/20/10
to warp...@googlegroups.com
It does not have a dep on warp, that dep is only for testing. You can build from source using ant (all the libs are checked in too) or you can download a jar from the downloads section of the website.

However, Warp-persist has been superseded by Guice-persist so you should prefer that. Warp-core has been superseded by Sitebricks.

Thanks,
Dhanji.


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


Alex Wibowo

unread,
Oct 21, 2010, 2:07:51 AM10/21/10
to warp...@googlegroups.com
Hi Dhanji,


Thanks for the response!  I downloaded the source from the website (guice-2.0-src.zip) and perform ant build. But I cant see guice-persist.jar generated in the build directory.. is there something I'm missing here?


Regards,


Alex..

Dhanji R. Prasanna

unread,
Oct 21, 2010, 2:27:52 AM10/21/10
to warp...@googlegroups.com
You should check out the svn repo. That src jar is an old snapshot.

Dhanji.

Alex Wibowo

unread,
Oct 21, 2010, 3:29:27 AM10/21/10
to warp...@googlegroups.com
Hi Dhanji,

Thanks again for that. But I think the ant build is broken, in particular when it is trying to generate the javadoc.
I havent spent enough time to investigate it ... could be something simple.
Best regards,


WiB

Dhanji R. Prasanna

unread,
Oct 21, 2010, 8:09:51 AM10/21/10
to warp...@googlegroups.com
Hmm, not sure about the Javadoc, but I am able to build the persist extension:

persist dhanji$ ant common.distjars
Buildfile: build.xml

source.jar:

compile:

jar.withdeps:
   [jarjar] Building jar: /Users/dhanji/src/guice/extensions/persist/build/guice-persist-with-deps.jar

manifest:
  [bndwrap] classes 22 23107
    [unjar] Expanding: /Users/dhanji/src/guice/extensions/persist/build/classes.bar into /Users/dhanji/src/guice/extensions/persist/build

jar:
      [jar] Warning: META-INF/ modified in the future.
      [jar] Warning: com/ modified in the future.
      [jar] Warning: com/google/ modified in the future.
      [jar] Warning: com/google/inject/ modified in the future.
      [jar] Warning: com/google/inject/persist/ modified in the future.
      [jar] Warning: com/google/inject/persist/finder/ modified in the future.
      [jar] Warning: com/google/inject/persist/jpa/ modified in the future.
      [jar] Building jar: /Users/dhanji/src/guice/extensions/persist/build/guice-persist-snapshot.jar

common.distjars:

BUILD SUCCESSFUL
Total time: 1 second
Reply all
Reply to author
Forward
0 new messages