On Wed, May 28, 2008 at 2:42 PM, Jeff Sexton <[EMAIL PROTECTED]> wrote:
> And what is maven's target directory for this project?  Under src there is a
> directory called target, that doesn't appear to be it.

OK, I had no idea that you're now working to modify and build SMX
itself. If you're working with the servicemix-xmpp component, the zip
file Maven produces for that project will be placed in a directory
named 'target' inside of the servicemix-xmpp project directory.

> I understand, at least enough for now, what the
> servicemix-xmpp-3.2.1-installer.zip file is.  And it contains the code I
> have to change.

If you want to change the actual JBI component (i.e., servicemix-xmpp)
component then, yes, you will need to import the sources into Eclipse
and modify the Java classes in the servicemix-xmpp project.

> It's using an older version of the smack jars.  There's
> methods in there that no longer exist.  So I'm trying to figure out how to
> rebuild it when the java is edited.  I created an SU and SA separately.

If that's the case, and you're interested in updating it, great! The
SU and SA are only for a configuration for the JBI component.

> These build commands
> mvn -Dmaven.test.skip=true -Pstep1 install
> mvn -Dmaven.test.skip=true -Pstep2 install

The build commands above are for SMX itself.

> If they build the servicemix-xmpp zip file, where's it end up so that I can
> deploy it for testing?  I can build the class file in question via the
> eclipse IDE, but putting it into the zip file each time is pretty awkward.
> It would be nice to be able to edit, build and run in eclipse.  But if I
> can't do that I at least would like to do some of the steps in an IDE...

Don't build from within Eclipse unless you're set up to use the
m2eclipse plugins. m2eclipse is a set of Maven plugins for Eclipse to
integrate Maven into Eclipse. I wrote an article on m2eclipse here:

http://www.sonatype.com/book/reference/eclipse.html

The Maven commands you provided above should be run from the command
line to build the entire SMX project.

> The SU and SA I made all at the command line.  Using an IDE for that would
> be nice eventually, but at least that's not a show shopper for now.

This can certainly be done. But let's first try to get your questions
sorted out. Right now we're jumping back and forth between the
contexts of working on the actual servicemix-xmpp JBI component and
creating a SU/SA for the servicemix-xmpp component. These are two very
separate tasks and I'm not following the interweaving of questions
about each.

> I'd be happy to write some sort of how-to up and post it someplace if I can
> get something working

Sure! But let's get through this first ;-).

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to