Bookmark this page
place77.com  

Most popular | Last updated | New releases | Free Software
Place77.com
»
Windows
»
Developer Tools
»
File Editors
»

Mop 1.0


Rate it   Help
0.0 stars , 0 votes
Like it
Total downloads 149
Last update June 4, 2010
Publisher Progress Software Corporation
License Free
OS Windows
Size 3 MB
Share

Send update info
|
Request review
|
Suggest to a friend
|
Report spyware
|
Report error

Description

cleans up your Java classpath mess - easily run any Java application from the command line
What is MOP?

MOP is a small utility for executing Java programs which are stored as artifacts like jars or bundles in a Maven repository.

MOP automatically deals with the following for you

* transitive dependencies
* downloading artifacts from remote repositories and caching them locally
* setting up your classpath

Using MOP

First download and install mop then you can run it from the command line as follows

mop

This will then output the command line help to show the command line arguments you can use.

If you are inside the download directory (or you copy the mop.jar to your current directory) then you can just execute the jar directly instead of running the mop script as follows

java -jar mop.jar

Running Java programs

The following example will boot up one of the Apache Camel example programs

mop run org.apache.camel:camel-example-pojo-messaging org.apache.camel.spring.Main

The run command takes a maven artifact name then a Java class name along with optional command line arguments. The maven artifact uses the following format

* groupId:artifactId[[:type[:classifier]]:version]

so that you can omit the type, classifier and version if you require. You typically may supply just groupId, artifactId, version if you like - or if you really need to specify type (jar/war etc) and classifier if needed. Typically the commands default to the right type; for example when using the war command it will default the type to be war for you.

The above will startup MOP in a JVM and then start the Main inside the same JVM in a separate class loader. If you want MOP to fork a separate JVM process then switch the run command with exec as follows

mop exec org.apache.camel:camel-example-pojo-messaging org.apache.camel.spring.Main

If the jar is an executable jar so that its Jar manifest has a Main-Class entry, then you can use the jar command instead which allows you to omit the Java class name as follows

mop jar org.apache.camel:camel-example-pojo-messaging

Running Web Applications

If you have a WAR in a repository somewhere you can run it via

mop war

For example if you want to run the ActiveMQ Web console and broker you can run the following

mop war org.apache.activemq:activemq-web-console:5.2.0

Though there is a simple alias to let you run Apache ActiveMQ

mop broker:5.2.0

Scripting Goodies

Sometimes, you just want to see what command line you need to type in to run the Main. Try this

mop echo org.apache.camel:camel-example-pojo-messaging org.apache.camel.spring.Main

Other times, you just need need the CLASSPATH so you can use it in a manually crafted script your running. Try this.

mop classpath org.apache.camel:camel-example-pojo-messaging

Or maybe you just want to copy all those jars in the classpath to directory, perhaps your trying to populate a `WEB-INF/lib` directory.


Download Mop 1.0 - free server


Post your review about this product

1.Drag bar to select rating


2.One line essential conclusion

3.Detailed opinion


4.Your name




The posting of advertisements is prohibited.Comments are pre-moderated.

All software reviews and articles becomes the sole property of Place77 . You acknowledge that you are responsable for the contents of your submission.Place77 reserves the right to remove or refuse to post any submission for any reason.


Top Software in File Editors
1.
AnkhSVN 2.1.8480.
AnkhSVN is a Subversion Source Control Provider for Microsoft Visual Studio 2005, 2008 and 2010.AnkhSVN
2.
OptiVec for Borland C++ 5.2
OptiVec hold more than 3500 hand-optimized, Assembler-written functions for all floating-point and integer data types
3.
Wassup 2.5
Wassup lets you know whats up with your Java environment. It will tell you the
4.
Microsoft Visual Studio LightSwitch Beta 1
Microsoft Visual Studio LightSwitch gives you a simpler and faster way to create professional-quality business
5.
Yasca 2.1
Yasca is a source code analysis tool that I started writing in 2007. It could


Mop 1.0 Copyright Information
Place77 periodically updates pricing and software information about full version from the publisher. Mirror links are directly from our servers or publisher's sites.
Featured
tkCNC Editor
tkCNC Editor is a text editor, specially designed for NC code (G-code) editing for CNC machines. It is used by CNC programmers and operators for fast.
Top Software
1.
Internet Download Manager
Schedule, resume and accelerate downloads by up to 5 times
2.
WinToFlash
3.
Adobe Photoshop
4.
Quick Heal AntiVirus 32-bit
5.
Canon PIXMA MP250 Printer Driver 1.0.2
6.
Adobe Illustrator
7.
SoundMAX Integrated Digital Audio
8.
Freegate
9.
HP USB Disk Storage Format Tool
10.
McAfee AntiVirus
11.
EasyRecovery Professional
12.
HP Deskjet D1360 Printer Software&Driver 7.0.3 for XP
13.
ESET NOD32 Antivirus (64-bit)
14.
Cool Edit Pro 2.1
15.
Virtual Girl HD DeskMates

Top Games
1.
Project IGI
Play tactical shooter
2.
PES 2011
3.
Neighbours From Hell
4.
Project IGI 2 SP Covert Strike
5.
Need for Speed Underground
6.
Crazy Taxi 3
7.
Sniper: Ghost Warrior
8.
GTA Vice City - Mamaia Vice Mod 1.5
9.
Midnight Club 2
10.
Conflict Desert Storm 2
11.
Pro Evolution Soccer 6
12.
FIFA 11
13.
Hercules
14.
Brian Lara International Cricket
15.
Prince of Persia: The Sands of Time Free Full Game


Go to top