ARCHETYPE-38 is not in archetypeng for what I could see
And it doesn't build for me on windows, attached is the log
Tests in error:
testGenerateArchetypeCompleteWithoutParent(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
testGenerateArchetypeSite(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
testGenerateFileSetArchetype(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
On 5/21/07, Brett Porter <[EMAIL PROTECTED]> wrote:
On 21/05/2007, at 4:56 PM, Raphaël Piéroni wrote:
> Quick answer, will answer in depth after work.
Cool, np.
>
> I didn't fork from a revision, but rewrite from scratch.
>
So, are there changes on trunk that we should be reviewing to make
sure they also found their way into NG? Surely some of them are still
relevant, and I imagine you still based your code on the code that
was already there in some way, at some revision in the past.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
-------------------------------------------------------------------------------
Test set: org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest
-------------------------------------------------------------------------------
Tests run: 12, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.391 sec <<<
FAILURE!
testGenerateArchetypeCompleteWithoutParent(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
Time elapsed: 0.281 sec <<< ERROR!
java.io.FileNotFoundException:
D:\dev\mojo\mojo-sandbox\maven-archetypeng\maven-archetypeng-core\maven-archetypeng-generator\target\test-classes\projects\generate-4\file-value\src\main\java\file\value\package\App.java
(The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:720)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:728)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.assertTemplateContent(DefaultArchetypeGeneratorTest.java:642)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateArchetypeCompleteWithoutParent(DefaultArchetypeGeneratorTest.java:114)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateArchetypeCompleteWithoutParent(DefaultArchetypeGeneratorTest.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testGenerateArchetypeSite(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
Time elapsed: 0.187 sec <<< ERROR!
java.io.FileNotFoundException:
D:\dev\mojo\mojo-sandbox\maven-archetypeng\maven-archetypeng-core\maven-archetypeng-generator\target\test-classes\projects\generate-10\file-value\src\site\site.xml
(The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:720)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:728)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.assertTemplateContent(DefaultArchetypeGeneratorTest.java:642)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateArchetypeSite(DefaultArchetypeGeneratorTest.java:364)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateArchetypeSite(DefaultArchetypeGeneratorTest.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
testGenerateFileSetArchetype(org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest)
Time elapsed: 0.547 sec <<< ERROR!
java.io.FileNotFoundException:
D:\dev\mojo\mojo-sandbox\maven-archetypeng\maven-archetypeng-core\maven-archetypeng-generator\target\test-classes\projects\generate-12\file-value\src\main\java\file\value\package\App.java
(The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:720)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.loadProperties(DefaultArchetypeGeneratorTest.java:728)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.assertTemplateContentGeneratedWithFileSetArchetype(DefaultArchetypeGeneratorTest.java:664)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateFileSetArchetype(DefaultArchetypeGeneratorTest.java:404)
at
org.codehaus.mojo.archetypeng.generator.DefaultArchetypeGeneratorTest.testGenerateFileSetArchetype(DefaultArchetypeGeneratorTest.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]