axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josef Stadelmann (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAMPART-342) ant service.01 build fails due to missmatching versions of mar files in axis2_home/repository/modules
Date Mon, 14 Nov 2011 09:28:51 GMT
ant service.01  build fails due to missmatching versions of mar files in axis2_home/repository/modules
------------------------------------------------------------------------------------------------------

                 Key: RAMPART-342
                 URL: https://issues.apache.org/jira/browse/RAMPART-342
             Project: Rampart
          Issue Type: Bug
          Components: distribution
    Affects Versions: 1.6.1
         Environment: Windows Vista é all with axis2-1.6.1 and rampart-1.6.1 installed
            Reporter: Josef Stadelmann
            Priority: Minor
             Fix For: 1.6.2


executing under 

/Rampart/samples/policy > ant service.01

results in the error shown below
(Warning: Could not find file E:\Users\C770817\SW-UMGEBUNG\axis2-1.6.1\repository\modules\addressing-1.6.0.mar
to copy.)

To know is that Rampart-1.6.1 must go hand in hand with Axis2-1.6.1 !!!
I have built and installed axis2-1.6.1 and made a lot of test, all OK.
I have built and installed rampart-1.6.1

setup was running and under %AXIS2_HOME%/repository/modules one can find all mar files with
a -1.6.1 version, in particular rampart-1.6.1.mar and rahas-1.6.1.mar, in this situation the
ant build script wants to copy a rampart-1.6.0.mar which is of course not found.
 
The corrections must be done on the build.xml at /rampart/samples/policy/build.xml that correct
mar-version files are copied to the temporary repository.

Property "client.port" has not been set
Loading Environment env.
creating macro  create.service.repo
creating macro  create.trust.service.repo
creating macro  create.and.run.client
Build sequence for target(s) `service.01' is [check.dependency, service.01]
Complete build sequence is [check.dependency, service.01, service.07, service.06, service.05,
service.04, service.03, service.02, client.08, client.07, client.06, client.05, client.04,
client.03, client.02, client.01, clean, , service.08]
check.dependency:
Skipped because property 'env.AXIS2_HOME' set.
service.01:
Skipping E:\Users\C770817\SW-UMGEBUNG\rampart-1.6.1\samples\policy\build\service_repositories\sample01
because it already exists.
Unresolvable reference ${service.repos.dir}/sample@{sample.number}/modules might be a misuse
of property expansion syntax.
Unresolvable reference ${service.repos.dir}/sample@{sample.number} might be a misuse of property
expansion syntax.
Skipping E:\Users\C770817\SW-UMGEBUNG\rampart-1.6.1\samples\policy\build\service_repositories\sample01\services
because it already exists.
Skipping E:\Users\C770817\SW-UMGEBUNG\rampart-1.6.1\samples\policy\build\service_repositories\sample01\modules
because it already exists.
E:\Users\C770817\SW-UMGEBUNG\rampart-1.6.1\samples\policy\build.xml:44: The following error
occurred while executing this line:
E:\Users\C770817\SW-UMGEBUNG\rampart-1.6.1\samples\policy\build.xml:140: Warning: Could not
find file E:\Users\C770817\SW-UMGEBUNG\axis2-1.6.1\repository\modules\addressing-1.6.0.mar
to copy.
        at org.apache.tools.ant.taskdefs.Copy.copySingleFile(Copy.java:561)
        at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:400)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        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:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        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:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 1 minute 29 seconds)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message