Dhanoa, Harpreet wrote:
> I am having problem when I am using unzip task , even no error is 
> thrown. Following is the sample code
> Thanks in Advance !
>  
> 
> #include "/org/smartfrog/services/os/java/library.sf"
> 
> #include "/org/smartfrog/services/filesystem/components.sf"
> 
> #include "/org/smartfrog/components.sf"
> 
> #include "/org/smartfrog/services/www/servers/jboss4.sf"
> 
> #include "org/smartfrog/services/ant/components.sf"
> 
> TomcatInstall *extends* Compound {
> 
> server.install.location TBD;
> 
> //define the repo
> 
> repo *extends* Maven2Library {
> 
>  repositories 
> ["http://myRepo:8080/artifactory/repo","http://mirrors.ibiblio.org/pub/mirrors/maven2";
>  
> ];
> 
> }
> 
> //download Tomcat
> 
> downloadTomcat *extends* JarArtifact {
> 
> project "apache";
> 
> artifact "apache-tomcat";
> 
> version "6.0.18";
> 
> library *LAZY* *PARENT*:repo;
> 
> extension "zip"
> 
> }
> 
> //unzip the tomcat
> 
>     unzipTomactServer *extends* Ant {
> 
>      myUnzip *extends* unzip {
> 
>     src *LAZY* downloadTomcat;
> 
>    dest *LAZY* server.home;
> 
>    }
> 
> }


we should really do an unzip component, drop the need for ant. I bet 
Ant's file timestamping stuff could cause problems. How about I add a 
jira isse for this and put one together over the weekend?

http://jira.smartfrog.org/jira/browse/SFOS-1218
-- 
-----------------------
Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

Reply via email to