7 Replies Latest reply: May 18, 2011 6:22 AM by Aslak Knutsen RSS

    Why is the Archive always deployed as test.war?

    Mark Temple Newbie

      When I create a test and do something like this:



         public static JavaArchive createTestArchive() {

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






            return archive;



      It always deploys as test.war, not "MyTest.jar" shown above... I see:

      [org.jboss.profileservice.management.upload.remoting.DeployHandler] invoke, payload: {DeploymentTargetID=names=[test.war], clientAddress=/}, parameter: start