RE: unplutofy - undoes Pluto assembly does to portlet wars

Martin Gainty <[email protected]> Tue, 1 Jun 2010 12:10:27 -0400
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Hi Guys-


My version of git does'nt support clone?

 

/GarySWeaver>git -clone http://github.com/garysweaver/unplutofy.git
Unknown option: -clone
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
           [-p|--paginate|--no-pager] [--no-replace-objects]
           [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
           [--help] COMMAND [ARGS]

/GarySWeaver>git --version
git version 1.7.0.2.msysgit.0


advice?
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: [email protected]
> Subject: unplutofy - undoes Pluto assembly does to portlet wars
> Date: Tue, 1 Jun 2010 11:26:49 -0400
> To: [email protected]
> 
> For anyone who is interested, I wrote a java-based utility (command-line script, ant task, maven plugin, and Java API) that will undo what Pluto assembly does to portlets. This is so that portlets that were pluto-fied previously (and had their web.xml modified and portlet.tld added) can be cleaned up and redeployed to the same or a different version of Pluto used by a portal.
> 
> The project is here:
> http://github.com/garysweaver/unplutofy
> 
> It assumes you have Git installed (to get the project from GitHub) and Maven 2 and Java 1.5+ SDK installed (to build it).
> 
> As of today (2010/05/01), Unplutofy has only been tested with modifications made by Pluto 1.0.0-RC2 and Pluto 1.1.7, however it could easily be modified to support other versions of Pluto.
> 
> Many would typically not need such a utility since if you have the version of the portlet prior to pluto-fication (Pluto assembly) or can rebuild it, then you could just do run whatever you need to in order to run Pluto assembly on that war. However, this utility saves the process of having to clean up the web.xml, etc. by hand, if you ever get into the situation where you have a deployed portlet that you need to clean up so that it can be redeployed.
> 
> It is somewhat risky I suppose to remove all elements in the web.xml that look like those added by Pluto, but it assumes you have backups of existing portlets (since it is setup so that you can maintain the original and just create an un-pluto-fied version of it). Hopefully having this option will be of benefit to some.
> 
> Please let me know if anything looks wrong with it or if you have any suggestions. Sorry that it hasn't been tested with Pluto 2.x yet.
> 
> Thanks,
> Gary
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1