Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 237823 - More predicates for single file does not work
More predicates for single file does not work
Status: NEW
Product: ide
Classification: Unclassified
Component: Features On Demand
7.2
PC Mac OS X
: P3 with 1 vote (vote)
: TBD
Assigned To: Tomas Zezula
issues@performance
:
Depends on:
Blocks: 222295
  Show dependency treegraph
 
Reported: 2013-10-30 17:47 UTC by Tomas Zezula
Modified: 2016-01-10 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
Patch file (647 bytes, patch)
2013-10-30 17:49 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2013-10-30 17:47:39 UTC
When there are more path predicates for single file separated by ',' only one of them is used.
Comment 1 Tomas Zezula 2013-10-30 17:49:00 UTC
Created attachment 141716 [details]
Patch file
Comment 2 Tomas Zezula 2013-10-30 17:49:13 UTC
Added proposed fix.
Comment 3 Jaroslav Tulach 2013-11-21 13:49:45 UTC
I can't recall what was the problem. As such I am not able to write a test and verify the fix fixes something. Can you please remind me, Tomáši?
Comment 4 Tomas Zezula 2013-11-21 18:16:17 UTC
The problem is when having:

project.xpath.pom.xml=project/packaging[contains(text(),'fx')],//executable[contains(text(),'javafxpackager')]

there are 2 xpath for single file: pom.xml but only one of these xpaths is checked (random depending on hash).


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo