Package aQute.lib.osgi.eclipse

Examples of aQute.lib.osgi.eclipse.EclipseClasspath


           
            // TODO for now we ignore the workspace and use the
            // project parent directory

            Builder  builder = new Builder();
            EclipseClasspath  ecp = new EclipseClasspath(builder, p.getParentFile(), p);

            builder.setClasspath((File[])ecp.getClasspath().toArray(new File[0]));
            builder.setSourcepath((File[])ecp.getSourcepath().toArray(new File[0]));
            builder.setProperties(mf);
            String path = builder.getProperty("-output");
            if ( path == null ) {
              path = mf.getAbsolutePath().replaceAll("\\.bnd$",".jar");
            }
View Full Code Here


        File p = project.getLocation().toFile();

        // TODO for now we ignore the workspace and use the
        // project parent directory

        EclipseClasspath ecp = new EclipseClasspath(builder, p.getParentFile(),
                p);

        builder.setClasspath((File[]) ecp.getClasspath().toArray(new File[0]));
        builder
                .setSourcepath((File[]) ecp.getSourcepath()
                        .toArray(new File[0]));
        builder.setProperties(mf);
        return builder;
    }
View Full Code Here

TOP

Related Classes of aQute.lib.osgi.eclipse.EclipseClasspath

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.