package test;

import java.io.*;

import junit.framework.*;
import aQute.bnd.build.*;

public class TestSelfBuild extends TestCase {

	public static void testSelfBuild() throws Throwable {
//		Project project = Workspace.getWorkspace(new File("").getAbsoluteFile().getParentFile()).getProject(
//				"biz.aQute.bndlib");
//		project.setPedantic(true);
//		project.action("build");
//
//		File files[] = project.build();
//		assertTrue(project.check("Imports that lack version ranges", "for exported package aQute.bnd.service.resolve.hook"));
//		assertNotNull(files);
//		assertEquals(1, files.length);
	}
}

@@ -182,18 +182,16 @@
 wable %7B%0A
-//
 %09%09Projec
@@ -285,18 +285,16 @@
 roject(%0A
-//
 %09%09%09%09%22biz
@@ -310,18 +310,16 @@
 dlib%22);%0A
-//
 %09%09projec
@@ -339,18 +339,16 @@
 (true);%0A
-//
 %09%09projec
@@ -370,13 +370,9 @@
 %22);%0A
-//%0A//
+%0A
 %09%09Fi
@@ -401,18 +401,16 @@
 uild();%0A
-//
 %09%09assert
@@ -521,18 +521,16 @@
 ook%22));%0A
-//
 %09%09assert
@@ -549,10 +549,8 @@
 s);%0A
-//
 %09%09as

Build test