Skip to content

Commit

Permalink
Project to show source finding problem with debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Kriens <peter.kriens@aqute.biz>
  • Loading branch information
pkriens committed Jun 20, 2016
1 parent 69d7feb commit 7f08ed5
Show file tree
Hide file tree
Showing 12 changed files with 100 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bndtools.test/bndws/test.debug.dep/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
3 changes: 3 additions & 0 deletions bndtools.test/bndws/test.debug.dep/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/bin/
/generated/
/cache/
23 changes: 23 additions & 0 deletions bndtools.test/bndws/test.debug.dep/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>test.debug.dep</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/bnd.bnd=UTF-8
1 change: 1 addition & 0 deletions bndtools.test/bndws/test.debug.dep/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Export-Package: test.debug.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package test.debug.dep;

public class Foo {
{
System.out.println("Foo created");
}
}
7 changes: 7 additions & 0 deletions bndtools.test/bndws/test.debug/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
3 changes: 3 additions & 0 deletions bndtools.test/bndws/test.debug/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/bin/
/generated/
/cache/
23 changes: 23 additions & 0 deletions bndtools.test/bndws/test.debug/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>test.debug</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/bnd.bnd=UTF-8
10 changes: 10 additions & 0 deletions bndtools.test/bndws/test.debug/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

-buildpath: \
osgi.enroute.junit.wrapper,\
test.debug.dep;version=latest
-runfw: org.apache.felix.framework;version='[4.4.0,4.4.0]'
-runrequires: osgi.identity;filter:='(osgi.identity=test.bottom)'
-runee: JavaSE-1.7
-runbundles: \
osgi.enroute.junit.wrapper,\
test.debug.dep;version=latest
12 changes: 12 additions & 0 deletions bndtools.test/bndws/test.debug/src/test/bottom/TopTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package test.bottom;

import test.debug.dep.Foo;
import junit.framework.TestCase;

public class TopTest extends TestCase {

public void testX() {
new Foo();
System.out.println("hello");
}
}

0 comments on commit 7f08ed5

Please sign in to comment.