2 Replies Latest reply: Jun 3, 2010 3:40 AM by Peter Skopek RSS

    Archives class not in the API anymore

    Peter Skopek Newbie

      The class org.jboss.shrinkwrap.api.Archives has been removed from the API and code samples in http://community.jboss.org/wiki/shrinkwrap are still using it.

      I would suggest change to latest API (1.0.0-alpha-10) and use:


      JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "my.jar");


      instead of


      JavaArchive archive = Archives.create("my.jar", JavaArchive.class);