RE: [Embedlets-dev] Persistence Check in
Status: Alpha
Brought to you by:
tkosan
|
From: Christopher S. <cs...@oo...> - 2003-05-31 08:46:30
|
I put in a day and a half on the Persistnce startup code. It is now launching the container with the initial services, based on the definitons in the config.xml file. The config.xml now conforms to the PK_COMPONENT_XXX definitions and there are no hard-coded property keys. To try things out: 1. Update with the latest embedlets.embedlet and embedlet.outpost code from cvs. Be sure to check the 'create missing directoris that exist in respository' on 2. Build embedlet and outpost in that order using the all-clean target in each build.xml. 4. From the embedlets\outpost folder run: java -cp build\classes;lib\kxml-min.jar;.\lib\embedlet.jar -DConfigFile=.\src\org\out post\persistence\config.xml org.outpost.persistence.xml.Launcher 5. It should load and run the container and its services. I have created three sample components: a timer, a toggle and a counter. These will be started with the container on the next go around. > > Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE] > _______________________________________________ > > Chris, > > Ok, I am working on trying out your persistence code. > > > > To try things out: > > > > 1. Update using the tag Persistent > > I just when ahead did a fresh checkout of 'embedlet' and 'outpost'. > > > > 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib > > folder. This the parser that I used. > > No problems here. > > > > 2. Recompile embedlets and outpost using the make.compile > > Did you mean 'ant compile' here? I did this and I received the following > compiler errors: > > <dump> > > [tkosan@localhost outpost]$ ant compile > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 33 source files to > /home/tkosan/embedlets/chris/outpost/build/classes > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:74: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: package event > [javac] import org.outpost.event.BooleanEvent; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] 3 errors > > BUILD FAILED > > </dump> > > > Its late and I am a bit 'fuzzy brained' but is BooleanEvent a > class that you > added? > > > Ted > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Embedlets-developer mailing list > Emb...@li... > https://lists.sourceforge.net/lists/listinfo/embedlets-developer > |