You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "KARR, DAVID" <dk...@att.com> on 2017/06/06 20:28:35 UTC

Using jxpath in PaxExam

I'm having no trouble using JXPath in unit tests, but I'm trying to use it in PaxExam tests for Karaf.  I'm having trouble getting dependencies right.  However, if I specify this artifact in my paxexam config, it appears that it also requires the "javax.servlet.jsp" artifact.  I'm not sure exactly how to specify that artifact.  Is there a common way to do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


RE: [jxpath] Re: Using jxpath in PaxExam

Posted by "KARR, DAVID" <dk...@att.com>.
> -----Original Message-----
> From: Bruno P. Kinoshita [mailto:brunodepaulak@yahoo.com.br.INVALID]
> Sent: Wednesday, June 07, 2017 12:31 AM
> To: Commons Users List <us...@commons.apache.org>
> Subject: [jxpath] Re: Using jxpath in PaxExam
> 
> I'm not sure how to help you David, but perhaps if you could share some
> code it would be easier to replicate it and try to understand your
> problem?
> CheersBruno

Sorry, I managed to resolve this.

I'm using jxpath in my paxexam tests with a block like the following:
-------------------
                mavenBundle().groupId("commons-jxpath").artifactId("commons-jxpath").versionAsInProject(),
                wrappedBundle(mavenBundle().groupId("jdom").artifactId("jdom").versionAsInProject()),
                wrappedBundle(mavenBundle().groupId("commons-beanutils").artifactId("commons-beanutils").versionAsInProject()),
                wrappedBundle(mavenBundle().groupId("javax.servlet.jsp").artifactId("jsp-api").version("2.1")),
------------------

> 
>       From: "KARR, DAVID" <dk...@att.com>
>  To: Commons Users List <us...@commons.apache.org>
>  Sent: Wednesday, 7 June 2017 8:29 AM
>  Subject: Using jxpath in PaxExam
> 
> I'm having no trouble using JXPath in unit tests, but I'm trying to use
> it in PaxExam tests for Karaf.  I'm having trouble getting dependencies
> right.  However, if I specify this artifact in my paxexam config, it
> appears that it also requires the "javax.servlet.jsp" artifact.  I'm not
> sure exactly how to specify that artifact.  Is there a common way to do
> this?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 
> 
> 

[jxpath] Re: Using jxpath in PaxExam

Posted by "Bruno P. Kinoshita" <br...@yahoo.com.br.INVALID>.
I'm not sure how to help you David, but perhaps if you could share some code it would be easier to replicate it and try to understand your problem?
CheersBruno

      From: "KARR, DAVID" <dk...@att.com>
 To: Commons Users List <us...@commons.apache.org> 
 Sent: Wednesday, 7 June 2017 8:29 AM
 Subject: Using jxpath in PaxExam
   
I'm having no trouble using JXPath in unit tests, but I'm trying to use it in PaxExam tests for Karaf.  I'm having trouble getting dependencies right.  However, if I specify this artifact in my paxexam config, it appears that it also requires the "javax.servlet.jsp" artifact.  I'm not sure exactly how to specify that artifact.  Is there a common way to do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org