Package org.codehaus.mojo.appassembler.model

Examples of org.codehaus.mojo.appassembler.model.Directory


            Object object = it.next();

            if ( object instanceof Directory )
            {
                Directory directory = (Directory) object;

                if ( directory.getRelativePath().charAt( 0 ) != '/' )
                {
                    classpathBuffer.append( getBasedir() ).append( getSeparator() );
                }
            }
            else if ( object instanceof Dependency )
View Full Code Here


        return dependency;
    }

    private Directory createDirectory( String relativePath )
    {
        Directory directory = new Directory();
        directory.setRelativePath( relativePath );
        return directory;
    }
View Full Code Here

      }
    }

    if (configDirectory != null)
    {
      Directory directory = new Directory();

      directory.setRelativePath(configDirectory);
      daemon.getClasspath().addDirectory(directory);
    }

    File outputDirectory = new File(request.getOutputDirectory(),
                             daemon.getId());
View Full Code Here

        return dependency;
    }

    private static Directory createDirectory( String relativePath )
    {
        Directory directory = new Directory();
        directory.setRelativePath( relativePath );
        return directory;
    }
View Full Code Here

        List directories = new ArrayList();

        if ( includeConfigurationDirectoryInClasspath )
        {
            Directory directory = new Directory();
            directory.setRelativePath( configurationDirectory );
            directories.add( directory );
        }

        if ( daemon.getClasspath() == null )
        {
View Full Code Here

TOP

Related Classes of org.codehaus.mojo.appassembler.model.Directory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.