Issue 30 in testability-explorer: Not able to Build Testability Explorer project

5 views
Skip to first unread message

codesite...@google.com

unread,
Jun 9, 2009, 8:31:41 PM6/9/09
to testabilit...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 30 by sarthak.83: Not able to Build Testability Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

What steps will reproduce the problem?
Here is the Maven build output when I try to build it

[INFO] Testability Explorer .................................. SUCCESS
[1.313s]
[INFO] Testability Explorer Core ............................. FAILED
[4.359s]
[INFO] Testability Explorer ant task ......................... NOT BUILT
[INFO] Maven testability plugin .............................. NOT BUILT

What is the expected output? What do you see instead?
BUILD SUCCESSFUL...

I see the foll.
Mojo:

org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile

FAILED for project:

com.google.testability-explorer:core:jar:1.3.2-SNAPSHOT

Reason:

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[27,49]
package com.sun.org.apache.xml.internal.serialize does not exist

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[28,49]
package com.sun.org.apache.xml.internal.serialize does not exist

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[118,8]
cannot find symbol
symbol : class XMLSerializer
location: class com.google.test.metric.ReportGeneratorBuilder

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[118,42]
cannot find symbol
symbol : class XMLSerializer
location: class com.google.test.metric.ReportGeneratorBuilder

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[120,8]
cannot find symbol
symbol : class OutputFormat
location: class com.google.test.metric.ReportGeneratorBuilder

D:\WorkSpaces\DiamondsPhase2\TestabilityExplorer\core\src\main\java\com\google\test\metric\ReportGeneratorBuilder.java:[120,34]
cannot find symbol
symbol : class OutputFormat
location: class com.google.test.metric.ReportGeneratorBuilder


What version of the product are you using? On what operating system?
I downloaded the latest code from the repository
http://testability-explorer.googlecode.com/svn and am trying to build
using Eclipse using maven.

Please provide any additional information below.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jun 10, 2009, 12:59:44 PM6/10/09
to testabilit...@googlegroups.com

Comment #1 on issue 30 by sarthak.83: Not able to Build Testability
Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

i am using Windows 2003 server OS

codesite...@google.com

unread,
Jun 15, 2009, 8:39:11 AM6/15/09
to testabilit...@googlegroups.com

Comment #2 on issue 30 by cedric.lamalle: Not able to Build Testability
Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

I had the same problem with a non sun JDK. Compiling with 1.5+ sun jdk
works. It's
because of a dependency on an internal sun package. I've made a patch
(included) to
change this dependency to xercesImpl.

Attachments:
testability-explorer.patch 1.2 KB

codesite...@google.com

unread,
Jun 15, 2009, 8:45:20 AM6/15/09
to testabilit...@googlegroups.com

Comment #3 on issue 30 by cedric.lamalle: Not able to Build Testability
Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

Ooops forgot to include diffs for test class
too(com.google.test.metric.report.XMLReportTest is passing after applying
the patch).
I've attached the full patch.

Attachments:
testability-explorer.patch 1.9 KB

codesite...@google.com

unread,
Jun 15, 2009, 12:33:26 PM6/15/09
to testabilit...@googlegroups.com

Comment #4 on issue 30 by sarthak.83: Not able to Build Testability
Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

Thanks a lot for addressing this one.

codesite...@google.com

unread,
Jun 16, 2009, 3:59:12 PM6/16/09
to testabilit...@googlegroups.com
Updates:
Status: Fixed

Comment #5 on issue 30 by aeagle22206: Not able to Build Testability
Explorer project
http://code.google.com/p/testability-explorer/issues/detail?id=30

Patch applied in
http://code.google.com/p/testability-explorer/source/detail?r=402

Thanks a bunch Cedric! I'm really excited about the Sonar plugin too. Are
you on
testability-...@googlegroups.com? Let us know when we can play
with it!

Cédric Lamalle

unread,
Jun 17, 2009, 9:28:34 AM6/17/09
to Testability Explorer
Yes I am on testability-...@googlegroups.com
I have versionned the first draft of the plugin.
I am currently working on Issue 28 (http://code.google.com/p/
testability-explorer/issues/detail?id=28) and have resolved the
classpath issue. I have some questions/suggestions about the maven
testability plugin, maybe we can discuss these on the aforementioned
group.

On Jun 16, 4:59 pm, codesite-nore...@google.com wrote:
> Updates:
>         Status: Fixed
>
> Comment #5 on issue 30 by aeagle22206: Not able to Build Testability  
> Explorer projecthttp://code.google.com/p/testability-explorer/issues/detail?id=30
Reply all
Reply to author
Forward
0 new messages