Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.forge.arquillian;
 
 import  org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveProcessor;
 import  org.jboss.shrinkwrap.api.Archive;
 import  org.jboss.shrinkwrap.api.Node;
 
 public class ForgeAuxiliaryArchiveProcessor implements AuxiliaryArchiveProcessor
 {
    @Override
   public void process(Archive<?> archive)
   {
      if ("arquillian-core.jar".equals(archive.getName()))
      {
         Node node = archive.get("org/jboss/shrinkwrap/descriptor");
         if (node != null)
            archive.delete(node.getPath());
      }
   }
New to GrepCode? Check out our FAQ X