havapa / testability-explorer

Automatically exported from code.google.com/p/testability-explorer
Apache License 2.0
0 stars 0 forks source link

Not able to Build Testability Explorer project #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
i am using Windows 2003 server OS 

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

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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 commented 8 years ago
Thanks a lot for addressing this one. 

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

GoogleCodeExporter commented 8 years ago
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