Deploying Shark as one big jar

View: New views
3 Messages — Rating Filter:   Alert me  

Deploying Shark as one big jar

by DS-22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

We are using Maven 2 for building out project. Shark is a set of a good deal of JARs In fact there are 350+ JARs in the Shark directory. It is sort of difficult to distribute. So I was wondering if there is by chance a distribution of Shark that is actually just one JAR? I am probably not the first one asking this. In this case please just forward me the right thread.

Thank you,

DS


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Deploying Shark as one big jar

by Pablo Beltran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

A simple way is creating a new Eclipse project, putting all the Shark sources into one folder (src) and packaging the output classes folder into one jar file. You need to take care about some *.properties files which Shark expects to found in the classpath (so you may copy them into to your src folder too). Obviously, you must configure the dependencies of the project (means externals jars) too.

This way has a clear advantage: debugging Shark, because Eclipse founds the Shark sources always. :)

I used this way to work on my project, though I didn't distribute Shark as one file at the end.

Best regards,
Pablo.

2009/7/27 Dmitry Shulga <dmitry.shulga@...>
Hello,

We are using Maven 2 for building out project. Shark is a set of a good deal of JARs In fact there are 350+ JARs in the Shark directory. It is sort of difficult to distribute. So I was wondering if there is by chance a distribution of Shark that is actually just one JAR? I am probably not the first one asking this. In this case please just forward me the right thread.

Thank you,

DS


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Deploying Shark as one big jar

by Pablo Beltran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again,

Still easier (if you only want to distribute Shark, not debugging) is extracting all the jar files into one folder and package that folder into one jar.

Best regards,
Pablo.

2009/7/28 Pablo Beltran <pbeltranl@...>
Hi,

A simple way is creating a new Eclipse project, putting all the Shark sources into one folder (src) and packaging the output classes folder into one jar file. You need to take care about some *.properties files which Shark expects to found in the classpath (so you may copy them into to your src folder too). Obviously, you must configure the dependencies of the project (means externals jars) too.

This way has a clear advantage: debugging Shark, because Eclipse founds the Shark sources always. :)

I used this way to work on my project, though I didn't distribute Shark as one file at the end.

Best regards,
Pablo.

2009/7/27 Dmitry Shulga <dmitry.shulga@...>
Hello,

We are using Maven 2 for building out project. Shark is a set of a good deal of JARs In fact there are 350+ JARs in the Shark directory. It is sort of difficult to distribute. So I was wondering if there is by chance a distribution of Shark that is actually just one JAR? I am probably not the first one asking this. In this case please just forward me the right thread.

Thank you,

DS


--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws





--
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws