Package npanday.executable.compiler

Examples of npanday.executable.compiler.CompilerRequirement


        }       

        File tmpDestDir = new File( tmpDir, "dest" );
        tmpDestDir.mkdirs();

        CompilerRequirement compilerRequirement = createCompilerRequirement();

        CompilerConfig compilerConfig = createCompilerConfig( tmpSourceDir.getAbsolutePath(), tmpDestDir.getAbsolutePath() );

        try
        {
View Full Code Here


        return compilerConfig;
    }
   
    private CompilerRequirement createCompilerRequirement() throws MojoExecutionException
    {
        CompilerRequirement compilerRequirement = CompilerRequirement.Factory.createDefaultCompilerRequirement();
        compilerRequirement.setLanguage( language );
        compilerRequirement.setFrameworkVersion( frameworkVersion );
        compilerRequirement.setProfile( profile );
        compilerRequirement.setVendorVersion( vendorVersion );
        try
        {
            if ( vendor != null )
            {
                compilerRequirement.setVendor( VendorFactory.createVendorFromName( vendor ) );
            }
        }
        catch ( PlatformUnsupportedException e )
        {
            throw new MojoExecutionException( "NPANDAY-900-001: Unknown Vendor: Vendor = " + vendor, e );
View Full Code Here

TOP

Related Classes of npanday.executable.compiler.CompilerRequirement

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.