This is now done in upstream, 'all' is the reserved word
[standalone@localhost:9999 /] :list-snapshots
{
"outcome" => "success",
"result" => {
"directory" =>
"/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/configuration/standalone_xml_history/snapshot",
"names" => [
"20110718-180909012standalone.xml",
"20110718-180935379standalone.xml",
"20110718-180936984standalone.xml",
"20110718-180937830standalone.xml"
]
}
}
[standalone@localhost:9999 /] :delete-snapshot(name=all)
{"outcome" => "success"}
[standalone@localhost:9999 /] :list-snapshots
{
"outcome" => "success",
"result" => {
"directory" =>
"/Users/kabir/sourcecontrol/jboss-as7/git/jboss-as/build/target/jboss-as-7.1.0.Alpha1-SNAPSHOT/standalone/configuration/standalone_xml_history/snapshot",
"names" => []
}
}
On 14 Jul 2011, at 10:13, Vimal Kansal wrote:
Thanks a lot Kabir.
Vimal
On 14/07/2011 6:42 PM, Kabir Khan wrote:
> This is not possible, but I created an issue for 7.0.1.
>
https://issues.jboss.org/browse/AS7-1279
> On 14 Jul 2011, at 03:35, Vimal Kansal wrote:
>
>> Hi,
>>
>> I was wondering using CLI (jboss-admin), can I blow away all the
>> snapshots? I see only one operation : delete-snapshot which requires the
>> "uniquely" identifiable snapshot name.
>>
>>
>> Thx
>>
>> Vimal
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev