You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by in...@apache.org on 2008/08/03 08:44:35 UTC

svn commit: r682108 - /synapse/trunk/java/pom.xml

Author: indika
Date: Sat Aug  2 23:44:35 2008
New Revision: 682108

URL: http://svn.apache.org/viewvc?rev=682108&view=rev
Log:
add commons-cli , this is needed for cipertool and this jar will not be included in the binary distribution 

Modified:
    synapse/trunk/java/pom.xml

Modified: synapse/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
==============================================================================
--- synapse/trunk/java/pom.xml (original)
+++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
@@ -1030,6 +1030,13 @@
             <version>${saxon.version}</version>
         </dependency>
 
+        <!--commons-cli -->
+        <dependency>
+            <groupId>commons-cli</groupId>
+            <artifactId>commons-cli</artifactId>
+            <version>${commons-cli.version}</version>
+        </dependency>
+
     </dependencies>
 
     <reporting>
@@ -1178,6 +1185,7 @@
         <wrapper.version>3.2.3</wrapper.version>
         <saxon.version>8.9</saxon.version>
         <commons_io.version>1.4</commons_io.version>
+        <commons-cli.version>1.0</commons-cli.version>
 
         <!-- dependencies of Synapse extensions module -->
         <wso2commons.version>1.2</wso2commons.version>



Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by indika kumara <in...@gmail.com>.
Runwan

A simple tool that does either encrypt or descript and print the
result based on flowing arguments.

/**
 * Tool for encrypting and decrypting.
 * Arguments and their meanings
 * <ul>
 * <li>keystore     If keys are in a store ,it's location
 * <li>storepass    Password for access keyStore
 * <li>keypass      To get private key
 * <li>alias        Alias to identify key owner
 * <li>storetype    Type of keyStore
 * <li>keyfile      If key is in a file
 * <li>opmode       encrypt or decrypt
 * <li>algorithm    encrypt or decrypt algorithm
 * <li>source       Either cipher or plain text as an in-lined form
 * <li>sourceFile   Source from a file
 * <li>outEncode    Currently base64
 * <li>inEncode     Currently base64
 * <ul>
 */

Thanks
Indika

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by Ruwan Linton <ru...@gmail.com>.
Indika,

Can you please give a quick explanation on how this works and how it is used
within synapse.

Thanks,
Ruwan

On Sun, Apr 5, 2009 at 12:01 PM, indika kumara <in...@gmail.com>wrote:

> Cipher tool need common cli . This is an external tool . That is not
> coupled with synapse. It only does give a help to encrypt and decrypt
> simple text such as passwords.
>
> Thanks
> Indika
>
> On Sun, Apr 5, 2009 at 11:28 AM, Ruwan Linton <ru...@gmail.com>
> wrote:
> > I think it is better to ship the commons-cli by default and support the
> > production mode with command line arguments by default without needing to
> > add any jar files...
> >
> > Is this achievable?
> >
> > Thanks,
> > Ruwan
> >
> > On Sun, Apr 5, 2009 at 11:02 AM, indika kumara <in...@gmail.com>
> > wrote:
> >>
> >> Hi Asankha
> >>
> >> Thanks for remembering . I had forgot this.
> >>
> >> Cipher tool need common-cli. I will add scripts and documents. If we
> >> don’t ship common cli, I will update document including downloading
> >> and using common cli.
> >>
> >> Thanks
> >> Indika
> >>
> >> On Fri, Apr 3, 2009 at 9:33 PM, Asankha C. Perera <as...@apache.org>
> >> wrote:
> >> > Indika
> >> >>
> >> >> Author: indika
> >> >> Date: Sat Aug  2 23:44:35 2008
> >> >> New Revision: 682108
> >> >>
> >> >> URL: http://svn.apache.org/viewvc?rev=682108&view=rev
> >> >> Log:
> >> >> add commons-cli , this is needed for cipertool and this jar will not
> be
> >> >> included in the binary distribution
> >> >
> >> > Can you document the use of the ciphertool and its use? Also,
> >> > commons-cli is
> >> > now being included into the binary distribution. Does the above
> comment
> >> > mean
> >> > that we can exclude it? If so how does one run the cipher tool? I do
> not
> >> > see
> >> > new scripts etc either.. can you enlighten us?
> >> >
> >> > thanks
> >> > asankha
> >> >>
> >> >> Modified:
> >> >>    synapse/trunk/java/pom.xml
> >> >>
> >> >> Modified: synapse/trunk/java/pom.xml
> >> >> URL:
> >> >>
> >> >>
> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
> >> >>
> >> >>
> >> >>
> ==============================================================================
> >> >> --- synapse/trunk/java/pom.xml (original)
> >> >> +++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
> >> >> @@ -1030,6 +1030,13 @@
> >> >>             <version>${saxon.version}</version>
> >> >>         </dependency>
> >> >>  +        <!--commons-cli -->
> >> >> +        <dependency>
> >> >> +            <groupId>commons-cli</groupId>
> >> >> +            <artifactId>commons-cli</artifactId>
> >> >> +            <version>${commons-cli.version}</version>
> >> >> +        </dependency>
> >> >> +
> >> >>     </dependencies>
> >> >>  +        <commons-cli.version>1.0</commons-cli.version>
> >> >>
> >> >
> >> > --
> >> > Asankha C. Perera
> >> > AdroitLogic, http://adroitlogic.org
> >> >
> >> > http://esbmagic.blogspot.com
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> >> > For additional commands, e-mail: dev-help@synapse.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> >> For additional commands, e-mail: dev-help@synapse.apache.org
> >>
> >
> >
> >
> > --
> > Ruwan Linton
> > Senior Software Engineer & Product Manager; WSO2 ESB;
> http://wso2.org/esb
> > WSO2 Inc.; http://wso2.org
> > email: ruwan@wso2.com; cell: +94 77 341 3097
> > blog: http://ruwansblog.blogspot.com
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by indika kumara <in...@gmail.com>.
Cipher tool need common cli . This is an external tool . That is not
coupled with synapse. It only does give a help to encrypt and decrypt
simple text such as passwords.

Thanks
Indika

On Sun, Apr 5, 2009 at 11:28 AM, Ruwan Linton <ru...@gmail.com> wrote:
> I think it is better to ship the commons-cli by default and support the
> production mode with command line arguments by default without needing to
> add any jar files...
>
> Is this achievable?
>
> Thanks,
> Ruwan
>
> On Sun, Apr 5, 2009 at 11:02 AM, indika kumara <in...@gmail.com>
> wrote:
>>
>> Hi Asankha
>>
>> Thanks for remembering . I had forgot this.
>>
>> Cipher tool need common-cli. I will add scripts and documents. If we
>> don’t ship common cli, I will update document including downloading
>> and using common cli.
>>
>> Thanks
>> Indika
>>
>> On Fri, Apr 3, 2009 at 9:33 PM, Asankha C. Perera <as...@apache.org>
>> wrote:
>> > Indika
>> >>
>> >> Author: indika
>> >> Date: Sat Aug  2 23:44:35 2008
>> >> New Revision: 682108
>> >>
>> >> URL: http://svn.apache.org/viewvc?rev=682108&view=rev
>> >> Log:
>> >> add commons-cli , this is needed for cipertool and this jar will not be
>> >> included in the binary distribution
>> >
>> > Can you document the use of the ciphertool and its use? Also,
>> > commons-cli is
>> > now being included into the binary distribution. Does the above comment
>> > mean
>> > that we can exclude it? If so how does one run the cipher tool? I do not
>> > see
>> > new scripts etc either.. can you enlighten us?
>> >
>> > thanks
>> > asankha
>> >>
>> >> Modified:
>> >>    synapse/trunk/java/pom.xml
>> >>
>> >> Modified: synapse/trunk/java/pom.xml
>> >> URL:
>> >>
>> >> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
>> >>
>> >>
>> >> ==============================================================================
>> >> --- synapse/trunk/java/pom.xml (original)
>> >> +++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
>> >> @@ -1030,6 +1030,13 @@
>> >>             <version>${saxon.version}</version>
>> >>         </dependency>
>> >>  +        <!--commons-cli -->
>> >> +        <dependency>
>> >> +            <groupId>commons-cli</groupId>
>> >> +            <artifactId>commons-cli</artifactId>
>> >> +            <version>${commons-cli.version}</version>
>> >> +        </dependency>
>> >> +
>> >>     </dependencies>
>> >>  +        <commons-cli.version>1.0</commons-cli.version>
>> >>
>> >
>> > --
>> > Asankha C. Perera
>> > AdroitLogic, http://adroitlogic.org
>> >
>> > http://esbmagic.blogspot.com
>> >
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> > For additional commands, e-mail: dev-help@synapse.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
>> For additional commands, e-mail: dev-help@synapse.apache.org
>>
>
>
>
> --
> Ruwan Linton
> Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 Inc.; http://wso2.org
> email: ruwan@wso2.com; cell: +94 77 341 3097
> blog: http://ruwansblog.blogspot.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by Ruwan Linton <ru...@gmail.com>.
I think it is better to ship the commons-cli by default and support the
production mode with command line arguments by default without needing to
add any jar files...

Is this achievable?

Thanks,
Ruwan

On Sun, Apr 5, 2009 at 11:02 AM, indika kumara <in...@gmail.com>wrote:

> Hi Asankha
>
> Thanks for remembering . I had forgot this.
>
> Cipher tool need common-cli. I will add scripts and documents. If we
> don’t ship common cli, I will update document including downloading
> and using common cli.
>
> Thanks
> Indika
>
> On Fri, Apr 3, 2009 at 9:33 PM, Asankha C. Perera <as...@apache.org>
> wrote:
> > Indika
> >>
> >> Author: indika
> >> Date: Sat Aug  2 23:44:35 2008
> >> New Revision: 682108
> >>
> >> URL: http://svn.apache.org/viewvc?rev=682108&view=rev
> >> Log:
> >> add commons-cli , this is needed for cipertool and this jar will not be
> >> included in the binary distribution
> >
> > Can you document the use of the ciphertool and its use? Also, commons-cli
> is
> > now being included into the binary distribution. Does the above comment
> mean
> > that we can exclude it? If so how does one run the cipher tool? I do not
> see
> > new scripts etc either.. can you enlighten us?
> >
> > thanks
> > asankha
> >>
> >> Modified:
> >>    synapse/trunk/java/pom.xml
> >>
> >> Modified: synapse/trunk/java/pom.xml
> >> URL:
> >>
> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
> >>
> >>
> ==============================================================================
> >> --- synapse/trunk/java/pom.xml (original)
> >> +++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
> >> @@ -1030,6 +1030,13 @@
> >>             <version>${saxon.version}</version>
> >>         </dependency>
> >>  +        <!--commons-cli -->
> >> +        <dependency>
> >> +            <groupId>commons-cli</groupId>
> >> +            <artifactId>commons-cli</artifactId>
> >> +            <version>${commons-cli.version}</version>
> >> +        </dependency>
> >> +
> >>     </dependencies>
> >>  +        <commons-cli.version>1.0</commons-cli.version>
> >>
> >
> > --
> > Asankha C. Perera
> > AdroitLogic, http://adroitlogic.org
> >
> > http://esbmagic.blogspot.com
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> > For additional commands, e-mail: dev-help@synapse.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://ruwansblog.blogspot.com

Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by indika kumara <in...@gmail.com>.
Hi Asankha

Thanks for remembering . I had forgot this.

Cipher tool need common-cli. I will add scripts and documents. If we
don’t ship common cli, I will update document including downloading
and using common cli.

Thanks
Indika

On Fri, Apr 3, 2009 at 9:33 PM, Asankha C. Perera <as...@apache.org> wrote:
> Indika
>>
>> Author: indika
>> Date: Sat Aug  2 23:44:35 2008
>> New Revision: 682108
>>
>> URL: http://svn.apache.org/viewvc?rev=682108&view=rev
>> Log:
>> add commons-cli , this is needed for cipertool and this jar will not be
>> included in the binary distribution
>
> Can you document the use of the ciphertool and its use? Also, commons-cli is
> now being included into the binary distribution. Does the above comment mean
> that we can exclude it? If so how does one run the cipher tool? I do not see
> new scripts etc either.. can you enlighten us?
>
> thanks
> asankha
>>
>> Modified:
>>    synapse/trunk/java/pom.xml
>>
>> Modified: synapse/trunk/java/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
>>
>> ==============================================================================
>> --- synapse/trunk/java/pom.xml (original)
>> +++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
>> @@ -1030,6 +1030,13 @@
>>             <version>${saxon.version}</version>
>>         </dependency>
>>  +        <!--commons-cli -->
>> +        <dependency>
>> +            <groupId>commons-cli</groupId>
>> +            <artifactId>commons-cli</artifactId>
>> +            <version>${commons-cli.version}</version>
>> +        </dependency>
>> +
>>     </dependencies>
>>  +        <commons-cli.version>1.0</commons-cli.version>
>>
>
> --
> Asankha C. Perera
> AdroitLogic, http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Re: svn commit: r682108 - /synapse/trunk/java/pom.xml

Posted by "Asankha C. Perera" <as...@apache.org>.
Indika
> Author: indika
> Date: Sat Aug  2 23:44:35 2008
> New Revision: 682108
>
> URL: http://svn.apache.org/viewvc?rev=682108&view=rev
> Log:
> add commons-cli , this is needed for cipertool and this jar will not be included in the binary distribution 
>   
Can you document the use of the ciphertool and its use? Also, 
commons-cli is now being included into the binary distribution. Does the 
above comment mean that we can exclude it? If so how does one run the 
cipher tool? I do not see new scripts etc either.. can you enlighten us?

thanks
asankha
> Modified:
>     synapse/trunk/java/pom.xml
>
> Modified: synapse/trunk/java/pom.xml
> URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=682108&r1=682107&r2=682108&view=diff
> ==============================================================================
> --- synapse/trunk/java/pom.xml (original)
> +++ synapse/trunk/java/pom.xml Sat Aug  2 23:44:35 2008
> @@ -1030,6 +1030,13 @@
>              <version>${saxon.version}</version>
>          </dependency>
>  
> +        <!--commons-cli -->
> +        <dependency>
> +            <groupId>commons-cli</groupId>
> +            <artifactId>commons-cli</artifactId>
> +            <version>${commons-cli.version}</version>
> +        </dependency>
> +
>      </dependencies>
>  
> +        <commons-cli.version>1.0</commons-cli.version>
>   

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org