Hi Sauleha!
I am using Eclipse for my DSpace developments (and other like ASKOSI.org).
After trying many different tricks, I finally went for a KISS (Keep It
Stupidly Simple) method:
1) I have a DSpace project in Eclipse
2) I export it always in the same DSPACE.JAR (I export source and
compiled classes: it makes a complete backup at the same time especially
if you transmit the JAR to different places).
3) I have a little batch file (running in Administrator mode for Windows
7) propagate.bat:
:again
net stop Tomcat6
copy d:\Data\DSpace\userlibrary\ASKOSI.jar
d:\Soft\tomcat\sharedlib\ASKOSI.jar
copy d:\Data\DSpace\userlibrary\DSpace.jar
d:\Soft\tomcat\webapps\bibl2\WEB-INF\lib\DSpace.jar
copy d:\Data\DSpace\userlibrary\DSpace.jar
d:\Soft\tomcat\webapps\wind\WEB-INF\lib\DSpace.jar
copy d:\Data\DSpace\userlibrary\ASKOSI.jar d:\Data\CAP\bibl2\lib\ASKOSI.jar
copy d:\Data\DSpace\userlibrary\DSpace.jar d:\Data\CAP\bibl2\lib\DSpace.jar
copy d:\Data\DSpace\userlibrary\DSpace.jar
d:\Data\CDMC\dspace\lib\DSpace.jar
copy d:\Data\DSpace\userlibrary\DSpace.jar
d:\Data\CDMC\dspace\lib\ASKOSI.jar
net start Tomcat6
echo Any Key to propagate again. Ctrl-C to STOP!
pause
goto again
It stops Tomcat
It copies all the JAR I am working on in the DSpace directories of my
different test instances (here "bibl2" and "wind")
It restarts Tomcat
It stays alive in Pause so I have only one key to strike to "propagate"
again.
This takes about 10 seconds: fast enough.
Remark: you have to suppress the compiled classes in the classes
directory of your test web applications.
Someone may propose you better but not simpler!
Have a nice day!
Christophe
P.S. Someone may notice above that the ASKOSI.JAR providing access to
authority lists is copied in the "sharedlib" directory to ensure that
authority lists loaded in memory are common to all web applications.
Le 6/10/2010 08:56, Sauleha Durrani a écrit :
Dear Folks,
I am trying to create an IDE of dspace with Eclipse Ganymede 3.4.
While installing the plug-ins for m2eclipse and downloading them from
the url :
http://m2eclipse.sonatype.org/update/ ,
I am getting the error, no repository found , I have been trying for
two days and looked for the answer to my query over the internet as
well but I couldn't find a suitable solution.
I shall be glad if anyone could help me with this.
Waiting anxiously for reply.
Best Regards
Sauleha J. Durrani
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel