Package org.eclipse.tycho.p2.metadata

Examples of org.eclipse.tycho.p2.metadata.MetadataSerializable.serialize()


            FileOutputStream stream = new FileOutputStream(new File(repositoryLocation, "content.xml"));
            try {
                MetadataSerializable serializer = osgiServices.getService(MetadataSerializable.class);
                Set<?> targetPlatformInstallableUnits = TychoProjectUtils.getTargetPlatform(module)
                        .getNonReactorUnits();
                serializer.serialize(stream, targetPlatformInstallableUnits);
            } finally {
                stream.close();
            }
            return repositoryLocation;
        } catch (IOException e) {
View Full Code Here


            FileOutputStream stream = new FileOutputStream(new File(repositoryLocation, "content.xml"));
            try {
                MetadataSerializable serializer = osgiServices.getService(MetadataSerializable.class);
                Set<?> targetPlatformInstallableUnits = TychoProjectUtils.getTargetPlatform(module)
                        .getNonReactorUnits();
                serializer.serialize(stream, targetPlatformInstallableUnits);
            } finally {
                stream.close();
            }
            return repositoryLocation;
        } catch (IOException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.