Hi Anthony,
I'm building with Sgine, here is what I do.
I use SBT 10, IntelliJ with the Scala plugin and SBT plugin. I use SBT
plugin to do my builds.
1. Step-wise to create my project I started by creating a new SBT
project using the SBT command line tool.
2. Then I built up my Build.scala file to include Sgine and other
things.
3. I used IntelliJ and SBT I run from within IntelliJ from its SBT
prompt.
4. I use the SBT intellij project generator "gen-idea" to generate my
IntelliJ project from within SBT to include all the right jars etc in
the IntelliJ project.
5. I build and test and run a demo
You would have to google many of the terms above.
Here is my Build.scala
http://pastebin.com/GJieEtYe
In my lib directory I have PNGDecoder.jar and scalamodules-
core_2.9.0-2.0.3-Snapshot.jar (this scalamodules not needed for Sgine,
just my other things). Is PNGDecoder.jar needed? I am not sure right
now, it was before.
In my runtime directory (home path at runtime) I have the dll's that
are required which you can find.
You don't need the akka, osgi, felix etc, so you could remove a lot of
that. You only need the Sgine stuff. Probably you will get confused by
reading that Build.scala, oh well - I was confused for a long time
too.....if you want to go down this path you need to know about SBT 10
(Scala Build Tool 10), IntelliJ, gen-idea
https://github.com/mpeltonen/sbt-idea
All of this might be too much of a headache for you to go through, but
for me, its now a stable platform I can build upon with all the tools
I want. SBT builds are quick too and incremental with ~compile
Hopefully Matt will come back to the project soon.
Phil
On Aug 11, 7:07 am, Anthony Di Franco <
di.fra...@gmail.com> wrote:
> I pulled in the UI dependency via Maven since I saw in Build.scala and
> elsewhere that it in turn pulls all the rest in.
>
> I am trying to reproduce the example from this fairly recent post:
http://www.sgine.org/2011/07/more-concise-and-more-powerful.html
>
> It seems that the org.sgine.core package no longer exists in the current
> source, checked out by me, built and deployed to my own maven repository
> today.
>
> Instead, for example, there is org.sgine.resource.Resource instead of
> org.sgine.core.Resource, and org.sgine.display.StandardDisplay is nowhere to
> be found.
>
> I haven't found your ScalaDocs, (I found a link in the blog which is
> broken,) nor gotten my own going yet, so I'm rummaging rather inefficiently
> through source.
>
> The going has been a bit rough. What's the short story on getting started,
> if any?
>
>
>
>
>
>
>
>
>
> On Sat, Aug 6, 2011 at 08:07, Matt Hicks <
darkfro...@gmail.com> wrote:
> > Sgine is made up of many sub-projects in SBT, so there isn't the need for
> a
> > top-level project really anymore.
>
> > You can take a look at the dependency structure in the Build class:
>
> >
http://code.google.com/p/sgine/source/browse/project/Build.scala
>
> > Please send any responses to the mailing list now as I've sent you an
> > invitation.
>
> > -Matt
>