[appfuse-issues] [JIRA] Resolved: (APF-378) extras/xfire/ant test fails with "... \build.xml:294: Duplicate target 'gen-aegis-mapping"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[appfuse-issues] [JIRA] Resolved: (APF-378) extras/xfire/ant test fails with "... \build.xml:294: Duplicate target 'gen-aegis-mapping"

AppFuse - Issues mailing list
     [ http://issues.appfuse.org/browse/APF-378?page=all ]
     
Matt Raible resolved APF-378:
-----------------------------

    Resolution: Fixed

I installed JSF, then ran "ant test" from extras/xfire.  I was unable to reproduce this issue.  Maybe you're using Cygwin with DOS line endings?

test-service:
     [echo] Testing service...
    [mkdir] Created dir: C:\Source\appfuse-xfire\build\test\data
     [copy] Copying 3 files to C:\Source\appfuse-xfire\build\test\service\classe
s
    [junit] [appfuse-xfire] INFO [main] DefaultTypeMappingRegistry.createTypeCre
ator(235) | Couldn't find Java 5 module on classpath. Annotation mappings will n
ot be supported.
    [junit] [appfuse-xfire] INFO [main] ServiceBean.afterPropertiesSet(171) | Ex
posing service with name {http://test.xfire.codehaus.org}Echo
    [junit] [appfuse-xfire] INFO [main] DefaultTypeMappingRegistry.createTypeCre
ator(235) | Couldn't find Java 5 module on classpath. Annotation mappings will n
ot be supported.
    [junit] [appfuse-xfire] INFO [main] ServiceBean.afterPropertiesSet(171) | Ex
posing service with name {http://test.xfire.codehaus.org}Echo
    [junit] Testsuite: org.appfuse.service.EchoWebServiceTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2 sec

    [junit] ------------- Standard Output ---------------
    [junit] [appfuse-xfire] INFO [main] DefaultTypeMappingRegistry.createTypeCre
ator(235) | Couldn't find Java 5 module on classpath. Annotation mappings will n
ot be supported.
    [junit] [appfuse-xfire] INFO [main] ServiceBean.afterPropertiesSet(171) | Ex
posing service with name {http://test.xfire.codehaus.org}Echo
    [junit] [appfuse-xfire] INFO [main] DefaultTypeMappingRegistry.createTypeCre
ator(235) | Couldn't find Java 5 module on classpath. Annotation mappings will n
ot be supported.
    [junit] [appfuse-xfire] INFO [main] ServiceBean.afterPropertiesSet(171) | Ex
posing service with name {http://test.xfire.codehaus.org}Echo
    [junit] ------------- ---------------- ---------------

BUILD SUCCESSFUL
Total time: 29 seconds
$
















> extras/xfire/ant test fails with "... \build.xml:294: Duplicate target 'gen-aegis-mapping"
> ------------------------------------------------------------------------------------------
>
>          Key: APF-378
>          URL: http://issues.appfuse.org/browse/APF-378
>      Project: AppFuse
>         Type: Bug

>   Components: Build, Test, or Deploy Process
>     Versions: 1.9.2
>  Environment: v.1.92, Tomcat, win2k, JSF
>     Reporter: Mark Dopheide
>     Assignee: Matt Raible
>     Priority: Blocker
>      Fix For: 1.9.2

>
> Trying to install  and test xfire fails because a duplicate "gen-aegis-mapping" target gets generated in the ../../appfuse-xfire/build.xml file (at line 294)
> ----------snip----------
> bash-3.00$ ant test
> Buildfile: build.xml
> test:
>    [delete] Deleting directory D:\dev\workspace\qw\appfuse-xfire
>   .
>   .
>   .
>   .
> BUILD FAILED
> D:\dev\workspace\qw\appfuse\extras\xfire\build.xml:300: The following error occu
> rred while executing this line:
> D:\dev\workspace\qw\appfuse-xfire\build.xml:294: Duplicate target 'gen-aegis-map
> ping'

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]