ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | shark List | December 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [shark] output from JavaClassToolAgent to a workflow variable


Hi Peter,

I guess the .classpath file (see atachement) is more interesting. Looking at the .project file I didn't find any interesting information.

The .project/.classpath file are located in a directory which also has a "source" subdir containing shark's source tree. Note that they are not located within shark's source tree Beside the "source" directory there is also a "classes" directory where eclipse puts all the class files. Normally they go into the Shark/module sub dir.

I don't know if the above facts are important; it's just how I do it.

The following are important.

Before going with eclipse you need to compile shark using the shipped with build mechanism. This needs to be done to get the DODS classes created.

Then create the eclipse project. You need to add some jars from the Shark/output, Shark/utiil and Shark/lib dirs to the build path, particularly those containing generated DODS classes and third party stuff. See at the bottom of the .classpath file.

I do not recommend to use my .classpath file for your project. Just look at it to get some clues.

You may put your tool agent implementations into a different project. Just make this project referencing your shark project.

That's it (At least I hope so).

Can't tell you more before nekscht dschier (=next year).

Regards
Dirk

Peter Niederlag wrote:

Hi,

Dirk Hoffmann schrieb:
[...]

BTW: Eclipse is smart enough to allow the whole shark source tree to be made into an eclipse project making development a lot easier and faster than with ant and simple programming editor tools. Tool agent classes can be devoloped as another such project just refering the shark project. Setting up all these project things is definitely worth the effort.


I have been trying for ages to get excatly that done. Didn't succeed, since shark uses make which seems to set some further variable within the ant(build.xml) files.

You would do me a *great* favor if you would give some assistance or documentation on how to use shark-source-tree within eclipse. :-> (it would probably be a lot help already if you could publish or mail the eclipse .project file)

I tried eclipse 2 and 3, cvs-checkout, source.tgz.

What I get done is add binary(compiled) librarys to a project and assign some source files. This is pretty much work however and has to be redone everytime source gets refactored. :-<

Thx,
Peter

------------------------------------------------------------------------


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

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="source/Shark/modules/SharkToolAgent/Standard/jctaprocs"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUserTransaction/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkCORBA/Server/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkKernel/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkXPDL/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkTransaction/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUserGroup/LDAP/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkProcessLocking/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkTests/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkAssignment/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkCaching/LRU/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkRepositoryPersistence/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkEventAudit/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkAuthentication/LDAP/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUserGroup/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkLogging/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkScripting/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkInstancePersistence/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkSwingClient/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUtilities/Misc/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkAPI/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUtilities/Maps/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkAuthentication/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkToolAgent/Standard/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkUtilities/DODS/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkCORBA/Client/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkLimitAgent/Timer/src"/>
	<classpathentry kind="src" path="source/Shark/input/wrdexamples"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkRepositoryPersistence/FileSystem/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkJSPClient/src"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkProcessLocking/Memory/src"/>
	<classpathentry kind="src" path="source/Shark/util/dbview"/>
	<classpathentry kind="src" path="source/Shark/modules/SharkSecurity/Standard/src"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/batik-awt-util.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jawexpdl.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jython.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/batik-dom.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/batik-svggen.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/util/dods/lib/dods-runtime.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jh.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/xalan.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/hsqldb.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/util/dods/lib-ext/log4j.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/batik-xml.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jawe.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jgraph.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jawelan.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/util/dods/lib/ejen.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/util/dods/lib-ext/util.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/jawepic.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/mail.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/util/dods/lib-ext/xercesImpl.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/js.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/activation.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/batik-util.jar"/>
	<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry exported="true" sourcepath="/shark-cvs-hack/source/Shark/modules/SharkCORBA/API/src" kind="lib" path="source/Shark/output/Shark/lib/sharkcorbaclientapi.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkappmappersistence-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkinstancepersistence-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkpartmappersistence-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkprocesslocking-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkrepositorypersistence-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkscriptmappersistence-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharktransaction-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkusergroup-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkusertransaction-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/output/Shark/lib/engine/sharkutilities-dods.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/bsh-1.2b8.jar"/>
	<classpathentry exported="true" kind="lib" path="source/Shark/lib/axis.jar"/>
	<classpathentry kind="lib" path="source/Shark/lib/wsdl4j.jar"/>
	<classpathentry kind="lib" path="source/Shark/lib/jaxrpc.jar"/>
	<classpathentry kind="output" path="classes"/>
</classpath>


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.