Commit 5ffee7c6 authored by Jonathon Duerig's avatar Jonathon Duerig

Tweak Flack for building with Apache Flex command line tools.

parent 1fe8b203
...@@ -24,4 +24,6 @@ Ensure: ...@@ -24,4 +24,6 @@ Ensure:
FLEX SDK only FLEX SDK only
------------- -------------
You should be able to use the included build.xml with the freely available Flex SDK >= 4.6 to generage a flack.swf which you can copy into the js/ directory and run the flack.html. You can use the included config.xml with the freely available Flex SDK >= 4.6 to generage a flack.swf which you can copy into the js/ directory and run the flack.html.
\ No newline at end of file
Make sure to copy the config.xml file and modify the paths to point to your version of the sdk and the appropriate directories for source and libraries.
\ No newline at end of file
/* /*
* Copyright (c) 2008-2012 University of Utah and the Flux Group. * Copyright (c) 2008-2012 University of Utah and the Flux Group.
* *
* {{{GENIPUBLIC-LICENSE * {{{GENIPUBLIC-LICENSE
* *
* GENI Public License * GENI Public License
* *
* Permission is hereby granted, free of charge, to any person obtaining * Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and/or hardware specification (the "Work") to * a copy of this software and/or hardware specification (the "Work") to
* deal in the Work without restriction, including without limitation the * deal in the Work without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, * rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Work, and to permit persons to whom the Work * and/or sell copies of the Work, and to permit persons to whom the Work
* is furnished to do so, subject to the following conditions: * is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be * The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Work. * included in all copies or substantial portions of the Work.
* *
* THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
...@@ -23,16 +23,16 @@ ...@@ -23,16 +23,16 @@
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS * OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS
* IN THE WORK. * IN THE WORK.
* *
* }}} * }}}
*/ */
package com.flack.geni.tasks.tests package com.flack.geni.tasks.tests
{ {
import flash.utils.ByteArray; import flash.utils.ByteArray;
[Embed(source="../txt/testslice.xml", mimeType="application/octet-stream")] [Embed(source="/../txt/testslice.xml", mimeType="application/octet-stream")]
public class TestsliceRspec extends ByteArray public class TestsliceRspec extends ByteArray
{ {
} }
} }
\ No newline at end of file
/* /*
* Copyright (c) 2008-2012 University of Utah and the Flux Group. * Copyright (c) 2008-2012 University of Utah and the Flux Group.
* *
* {{{GENIPUBLIC-LICENSE * {{{GENIPUBLIC-LICENSE
* *
* GENI Public License * GENI Public License
* *
* Permission is hereby granted, free of charge, to any person obtaining * Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and/or hardware specification (the "Work") to * a copy of this software and/or hardware specification (the "Work") to
* deal in the Work without restriction, including without limitation the * deal in the Work without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, * rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Work, and to permit persons to whom the Work * and/or sell copies of the Work, and to permit persons to whom the Work
* is furnished to do so, subject to the following conditions: * is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be * The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Work. * included in all copies or substantial portions of the Work.
* *
* THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
...@@ -23,16 +23,16 @@ ...@@ -23,16 +23,16 @@
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS * OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS
* IN THE WORK. * IN THE WORK.
* *
* }}} * }}}
*/ */
package com.flack.geni.tasks.tests package com.flack.geni.tasks.tests
{ {
import flash.utils.ByteArray; import flash.utils.ByteArray;
[Embed(source="../../../../../../txt/testsliceleft.xml", mimeType="application/octet-stream")] [Embed(source="/../txt/testsliceleft.xml", mimeType="application/octet-stream")]
public class TestsliceRspecLeft extends ByteArray public class TestsliceRspecLeft extends ByteArray
{ {
} }
} }
\ No newline at end of file
/* /*
* Copyright (c) 2008-2012 University of Utah and the Flux Group. * Copyright (c) 2008-2012 University of Utah and the Flux Group.
* *
* {{{GENIPUBLIC-LICENSE * {{{GENIPUBLIC-LICENSE
* *
* GENI Public License * GENI Public License
* *
* Permission is hereby granted, free of charge, to any person obtaining * Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and/or hardware specification (the "Work") to * a copy of this software and/or hardware specification (the "Work") to
* deal in the Work without restriction, including without limitation the * deal in the Work without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, * rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Work, and to permit persons to whom the Work * and/or sell copies of the Work, and to permit persons to whom the Work
* is furnished to do so, subject to the following conditions: * is furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be * The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Work. * included in all copies or substantial portions of the Work.
* *
* THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
...@@ -23,16 +23,16 @@ ...@@ -23,16 +23,16 @@
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS * OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS
* IN THE WORK. * IN THE WORK.
* *
* }}} * }}}
*/ */
package com.flack.geni.tasks.tests package com.flack.geni.tasks.tests
{ {
import flash.utils.ByteArray; import flash.utils.ByteArray;
[Embed(source="../../../../../../txt/testsliceright.xml", mimeType="application/octet-stream")] [Embed(source="/../txt/testsliceright.xml", mimeType="application/octet-stream")]
public class TestsliceRspecRight extends ByteArray public class TestsliceRspecRight extends ByteArray
{ {
} }
} }
\ No newline at end of file
<rspec type="request" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:test="http://www.protogeni.net/resources/rspec/ext/test/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.protogeni.net/resources/rspec/2" test:atr="test">
<node client_id="exclusive-0" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true" test:atr="test">
<sliver_type name="raw-pc" test:atr="test">
<test:info atr="hello"/>
<disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD" test:atr="test">
<test:info atr="hello"/>
</disk_image>
</sliver_type>
<hardware_type name="pc3000" test:atr="test">
<test:info atr="hello"/>
</hardware_type>
<interface client_id="exclusive-0:if1" test:atr="test">
<ip address="192.168.0.1" netmask="255.255.255.0" type="ipv4" test:atr="test">
<test:info atr="hello"/>
</ip>
<test:info atr="hello"/>
</interface>
<flack:info x="192" y="51" unbound="true"/>
<test:info atr="hello"/>
</node>
<node client_id="exclusive-1" component_manager_id="urn:publicid:IDN+uky.emulab.net+authority+cm" exclusive="true" test:atr="test">
<sliver_type name="raw-pc" test:atr="test">
<test:info atr="hello"/>
</sliver_type>
<interface client_id="exclusive-1:if1" test:atr="test">
<ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4" test:atr="test">
<test:info atr="hello"/>
</ip>
</interface>
<flack:info x="294" y="182" unbound="true"/>
<test:info x="192" y="51" unbound="true"/>
</node>
<link client_id="link-0" test:atr="test">
<component_manager name="urn:publicid:IDN+emulab.net+authority+cm" test:atr="test">
<test:info atr="hello"/>
</component_manager>
<component_manager name="urn:publicid:IDN+uky.emulab.net+authority+cm" test:atr="test">
<test:info atr="hello"/>
</component_manager>
<link_type name="gre-tunnel" test:atr="test">
<test:info atr="hello"/>
</link_type>
<interface_ref client_id="exclusive-0:if1" test:atr="test">
<test:info atr="hello"/>
</interface_ref>
<interface_ref client_id="exclusive-1:if1" test:atr="test">
<test:info atr="hello"/>
</interface_ref>
<property source_id="exclusive-0:if1" dest_id="exclusive-1:if1" capacity="0" test:atr="test">
<test:info atr="hello"/>
</property>
<property source_id="exclusive-1:if1" dest_id="exclusive-0:if1" capacity="0" test:atr="test">
<test:info atr="hello"/>
</property>
<test:info x="192" y="51" unbound="true"/>
</link>
<flack:info client_version="GEC12.1" client_description="Description of the client environment here" />
<test:info x="294" y="182" unbound="true"/>
</rspec>
\ No newline at end of file
<rspec type="request" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/request.xsd" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:test="http://www.protogeni.net/resources/rspec/ext/test/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.protogeni.net/resources/rspec/2" test:atr="test">
<node client_id="exclusive-0" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="true" test:atr="test">
<sliver_type name="raw-pc" test:atr="test">
<test:info atr="hello"/>
<disk_image name="urn:publicid:IDN+emulab.net+image+emulab-ops//FEDORA10-STD" test:atr="test">
<test:info atr="hello"/>
</disk_image>
</sliver_type>
<hardware_type name="pc3000" test:atr="test">
<test:info atr="hello"/>
</hardware_type>
<interface client_id="exclusive-0:if1" test:atr="test">
<ip address="192.168.0.1" netmask="255.255.255.0" type="ipv4" test:atr="test">
<test:info atr="hello"/>
</ip>
<test:info atr="hello"/>
</interface>
<flack:info x="192" y="51" unbound="true"/>
<test:info atr="hello"/>
</node>
<node client_id="exclusive-1" component_manager_id="urn:publicid:IDN+uky.emulab.net+authority+cm" exclusive="true" test:atr="test">
<sliver_type name="raw-pc" test:atr="test">
<test:info atr="hello"/>
</sliver_type>
<interface client_id="exclusive-1:if1" test:atr="test">
<ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4" test:atr="test">
<test:info atr="hello"/>
</ip>
</interface>
<flack:info x="294" y="182" unbound="true"/>
<test:info x="192" y="51" unbound="true"/>
</node>
<link client_id="link-0" test:atr="test">
<component_manager name="urn:publicid:IDN+emulab.net+authority+cm" test:atr="test">
<test:info atr="hello"/>
</component_manager>
<component_manager name="urn:publicid:IDN+uky.emulab.net+authority+cm" test:atr="test">
<test:info atr="hello"/>
</component_manager>
<link_type name="gre-tunnel" test:atr="test">
<test:info atr="hello"/>
</link_type>
<interface_ref client_id="exclusive-0:if1" test:atr="test">
<test:info atr="hello"/>
</interface_ref>
<interface_ref client_id="exclusive-1:if1" test:atr="test">
<test:info atr="hello"/>
</interface_ref>
<property source_id="exclusive-0:if1" dest_id="exclusive-1:if1" capacity="0" test:atr="test">
<test:info atr="hello"/>
</property>
<property source_id="exclusive-1:if1" dest_id="exclusive-0:if1" capacity="0" test:atr="test">
<test:info atr="hello"/>
</property>
<test:info x="192" y="51" unbound="true"/>
</link>
<flack:info client_version="GEC12.1" client_description="Description of the client environment here" />
<test:info x="294" y="182" unbound="true"/>
</rspec>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment