Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to Build Testability Explorer project #30

Closed
GoogleCodeExporter opened this issue Oct 23, 2015 · 5 comments
Closed

Not able to Build Testability Explorer project #30

GoogleCodeExporter opened this issue Oct 23, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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\t
est\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\t
est\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\t
est\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\t
est\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\t
est\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\t
est\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.

Original issue reported on code.google.com by sarthak...@gmail.com on 10 Jun 2009 at 12:31

@GoogleCodeExporter
Copy link
Author

i am using Windows 2003 server OS 

Original comment by sarthak...@gmail.com on 10 Jun 2009 at 4:59

@GoogleCodeExporter
Copy link
Author

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.

Original comment by cedric.l...@gmail.com on 15 Jun 2009 at 12:38

Attachments:

@GoogleCodeExporter
Copy link
Author

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.

Original comment by cedric.l...@gmail.com on 15 Jun 2009 at 12:44

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks a lot for addressing this one. 

Original comment by sarthak...@gmail.com on 15 Jun 2009 at 4:32

@GoogleCodeExporter
Copy link
Author

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-explorer-dev@googlegroups.com? Let us know when we can play with it!

Original comment by aeagle22206 on 16 Jun 2009 at 7:58

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant