You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hiroaki Kawai (JIRA)" <ji...@apache.org> on 2012/09/06 04:21:07 UTC

[jira] [Created] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Hiroaki Kawai created AXIS2-5413:
------------------------------------

             Summary: build.xml is missing in source distribution at package root directory
                 Key: AXIS2-5413
                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
             Project: Axis2
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.6.2, 1.6.1
         Environment: fedora 17
            Reporter: Hiroaki Kawai
            Priority: Critical


In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.

The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450416#comment-13450416 ] 

Andreas Veithen commented on AXIS2-5413:
----------------------------------------

If I understand this correctly, mvn-rpmbuild requires you to build with maven.local.mode and offline mode and assumes that any dependencies are already available as RPMs. Is that correct?
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Hiroaki Kawai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449547#comment-13449547 ] 

Hiroaki Kawai commented on AXIS2-5413:
--------------------------------------

Does it works in -Dmaven.local.mode ? It is the matter of bootstrap, not about the correctness. 
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Hiroaki Kawai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450441#comment-13450441 ] 

Hiroaki Kawai commented on AXIS2-5413:
--------------------------------------

Yes, any dependencies should be already available as rpms. But pom.xml (in module) dependency requires axis2 itself, org.apache.axis2:axis2-mar-maven-plugin and org.apache.axis2:axis2-aar-maven-plugin .
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Updated] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Hiroaki Kawai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiroaki Kawai updated AXIS2-5413:
---------------------------------

    Attachment: axis2-trunk.patch

I could not figure out the source package build command. But looking at pom.xml, the patch should include build.xml .
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Hiroaki Kawai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449534#comment-13449534 ] 

Hiroaki Kawai commented on AXIS2-5413:
--------------------------------------

Reading README, we need build.xml because each time we make rpm, it is a fresh build. Running mvn install in building rpm may not be acceptable.
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449541#comment-13449541 ] 

Andreas Veithen commented on AXIS2-5413:
----------------------------------------

If you refer to the README.txt file in Axis2's SVN tree, that file actually also needs to be updated. The correct way to build Axis2 is using "mvn clean install".
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449449#comment-13449449 ] 

Andreas Veithen commented on AXIS2-5413:
----------------------------------------

No, actually build.xml should be removed from SVN. It is there only for historical reasons and it is no longer used.
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


[jira] [Commented] (AXIS2-5413) build.xml is missing in source distribution at package root directory

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451632#comment-13451632 ] 

Andreas Veithen commented on AXIS2-5413:
----------------------------------------

The current build setup solves the bootstrap problem by using versions of the AAR and MAR plugins from a previous Axis2 release. For us that is not a problem because we don't have the same constraints as you. I guess that you cannot use the same approach because RPMs for previous Axis2 versions don't exist and/or you cannot use an RPM from a previous version in the build of the current version.

Therefore you need to do two things:

1. Patch modules/parent/pom.xml to change the versions of axis2-mar-maven-plugin and axis2-aar-maven-plugin in the pluginManagement section (to use ${project.version} instead of 1.5.2).
2. Build axis2-mar-maven-plugin and axis2-aar-maven-plugin before running mvn-rpmbuild, pretty much as described in README.txt and implemented in build.xml. However, instead of trying to use build.xml, I would recommend to integrate these steps into your build script.
                
> build.xml is missing in source distribution at package root directory
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5413
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5413
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: fedora 17
>            Reporter: Hiroaki Kawai
>            Priority: Critical
>              Labels: build
>         Attachments: axis2-trunk.patch
>
>
> In the subversion repository, build.xml exists at the package root directory. But in source distribution, there is not. This seems causing bad results in fedora package builds http://pkgs.fedoraproject.org/cgit/axis2.git/.
> The spec file does remove the modules that fails in building without ant. Most of the modules (classes) are excluded from axis2 package, and this is not an unwanted package.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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