question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to get excludes attribute to work

See original GitHub issue

Hello,

I have a modified version of PivApplet that I am trying to add JUnit tests to. I have some test code that’s not intended to be part of the .cap, and I’m trying to exclude it using the excludes attribute.

    <javacard>
      <cap aid="a0:00:00:03:08:00:00:10" output="bin/PivApplet.cap" sources="src-gen" excludes="**Test**" classes="bin" version="1.0">
        <applet class="net.cooperi.pivapplet.PivApplet" aid="a0:00:00:03:08:00:00:10:00:01:00"/>
      </cap>
    </javacard>

I’ve tried every variation I can come up with in order to exclude “src-gen/org/openphysical/pivapplet/PivAppletTest.java”. I’ve tried **Test**, **/*Test.java, etc. I’ve even tried excluding “.class", ".java”, etc. just to see if it would exclude other files.

Does the excludes attribute work? It’s entirely possible I’m using it wrong.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
martinpaljakcommented, Dec 31, 2021

It is now.

0reactions
mistial-devcommented, Jan 3, 2022

Makes sense. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excluded Attribute in Analyses - PI Square - OSIsoft
It appears that if an expression has an excluded attribute in it the Analysis puts off an "Error and Warnings" (Red Exclamation) for...
Read more >
Exclude primary key attributes from a sequelize query
Doesn't work for the primary key in this case. I have a similar query I'm trying to achieve and listing the primary key...
Read more >
THE DUPLICATED ATTRIBUTE IN TWO OBJECTS NOT ... - IBM
In this Case, We ticked the "Exclude Attributes Mode", if an attributes is ticked to "include" it should be included in the "Add/Modify...
Read more >
Excluding Android resources? (SOLVED) - Defold Forum
Failed building Android resources to R.java: ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute ...
Read more >
Exclude attribute from search but still retreive it - Open Q&A
Hello Algolia team, I have a question because I can't find an answer. It is possible to exlude specific attribute from search?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found