You'll probably need to dontwarn javax.transaction.** -- Sent from my phone On Jan 5, 2014 8:29 AM, "Konrad Malawski" <[email protected]> wrote:
> Hey Des, > That’s most likely because `javax.transaction` is scoped to `provided` in > that project: > https://github.com/jsuereth/scala-arm/blob/master/project/build.scala#L89 > The warning (it’s a `warning`, not an error :-)) sounds like it’s coming > from `proguard`, so it sees a reference to that class but can’t find it in > any jar. > > Since I don’t think you’ll be using any `javax.transaction` stuff in your > Android app I don’t think you need to be worries about it - it does > compile, right? > > PS: When working with proguard when I get a build working I usually add > `-nowarn`… It produces a lot of noise which doesn’t really matter most of > the time. > > -- > Konrad Malawski > http://geecon.org > > On Sunday, 5 January 2014 at 17:06, Desmond O. Chang wrote: > > Hi, > > I want to use scala-arm on my project. I put the dependency in `build.sbt`: > > libraryDependencies += "com.jsuereth" %% "scala-arm" % "1.3" > > But sbt reports the following error: > > Warning: resource.jta.package: can't find referenced class > javax.transaction.Transaction > > It seems like the transaction package is missed by sbt. How to solve it? > > I use pfn's android-sdk-plugin. > > > Best Regards, > Des > > -- > You received this message because you are subscribed to the Google Groups > "scala-on-android" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "scala-on-android" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
