Skip to content

fix #111: Should not include test classes in classpaths - #202

Merged
Andy Xu(devdiv) (andxu) merged 2 commits into
masterfrom
andy_dev14
Aug 14, 2018
Merged

Andy Xu(devdiv) (andxu) merged 2 commits into
masterfrom
andy_dev14

Conversation

@andxu

Copy link
Copy Markdown
Contributor

No description provided.

@andxu

Copy link
Copy Markdown
Contributor Author

@yaohaizh Yaohai Zheng (yaohaizh) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the existing API

if (entry.getClasspathProperty() == IRuntimeClasspathEntry.USER_CLASSES) {
IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(entry, jproject);
for (int j = 0; j < entries.length; j++) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the existing API:

IClasspathEntry.isTest() 

@andxu Andy Xu(devdiv) (andxu) Aug 13, 2018 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicer to use isTest since photon is added to pom.xml, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants