axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5781) Maven Build - Module: kernel - generates / modifies file under source-control - should build in output directory
Date Thu, 24 Aug 2017 21:06:00 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140697#comment-16140697
] 

Hudson commented on AXIS2-5781:
-------------------------------

FAILURE: Integrated in Jenkins build axis2-1.7 #133 (See [https://builds.apache.org/job/axis2-1.7/133/])
AXIS2-5781, AXIS2-5870: Merge r1779069 and r1779074 to the 1.7 branch. (veithen: rev 1806081)
* (edit) axis2
* (edit) axis2/modules/codegen/test/org/apache/axis2/wsdl/codegen/writer/SchemaWriterTest.java
* (edit) axis2/modules/kernel/test/org/apache/axis2/description/java2wsdl/XMLSchemaTest.java


> Maven Build - Module: kernel - generates / modifies file under source-control - should
build in output directory
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5781
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.7.3
>            Reporter: Jeff Thomas
>            Priority: Minor
>
> Maven Build for axis2-kernel (./modules/kernel/pom.xml).
> In the axis2-kernel Maven Module (and at in at least the axis2-integration module as
well) test ant-scripts and unit-tests run against the "./test-resources" directory instead
of the "./target/test-resources" directory.
> In the interest of Maven "compliance" the build process should not edit, touch or otherwise
"dirty" source-code files.
> Examples:
> 1.  The Ant-script "test-resources/deployment/service2/build.xml" creates temporary directories,
generates content, and removes these temporary directories directly within the "test-resources"
source directory.
> 2. The Unit-Test utility method 'readWSDLFromFile' in XMLSchemaTest creates a File reference
to a file in "test-resources" and performs the following:
> {code:java}XMLPrettyPrinter.prettify(file);{code}
> This updates (dirties) the input source-file - on my windows build it changes the line-endings
from Unix to Windows.
> The current Maven POMs already take care of copying the "test-resources" directory to
"target/test-resources" so all of the required input files and ant-scripts are available there.
 Therefore, the POM ANT "dir" properties and the JUnit tests just need to be updated to use
these instead of the source-code originals.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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