Ticket #19562: 19562.apache_http_without_logging.patch

File 19562.apache_http_without_logging.patch, 5.6 KB (added by taylor.smock, 4 years ago)

Apache HTTP without logging (but still with IVY)

  • .classpath

     
    33        <classpathentry kind="src" path="src"/>
    44        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    55        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
     6        <classpathentry exported="true" kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=JOSM-apache-http&amp;ivyXmlPath=ivy.xml&amp;confs=*"/>
    67        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-apache-commons"/>
    7         <classpathentry exported="true" kind="lib" path="lib/httpclient-4.5.6.jar"/>
    8         <classpathentry exported="true" kind="lib" path="lib/httpcore-4.4.10.jar"/>
    9         <classpathentry exported="true" kind="lib" path="lib/httpmime-4.5.6.jar"/>
    108        <classpathentry kind="output" path="bin"/>
    119</classpath>
  • .project

     
    2424        <natures>
    2525                <nature>org.eclipse.jdt.core.javanature</nature>
    2626                <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
     27                <nature>org.apache.ivyde.eclipse.ivynature</nature>
    2728        </natures>
    2829</projectDescription>
  • build.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <project name="apache-http" default="dist" basedir=".">
     2<project name="apache-http" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    55    <property name="plugin.main.version" value="10580"/>
     
    1010    <property name="plugin.author" value="Don-vip"/>
    1111    <property name="plugin.class" value="org.openstreetmap.josm.plugins.http.HttpPlugin"/>
    1212    <property name="plugin.description" value="Provides Apache HTTP library. Not meant to be installed directly by users, but rather as a dependency for other plugins."/>
    13    
    14         <property name="josm" location="../../core/dist/josm-custom.jar"/>
    15         <property name="plugin.dist.dir" value="../../dist"/>
     13
    1614    <property name="plugin.requires" value="apache-commons;jna"/>
    1715    <property name="plugin.stage" value="15"/>
    1816
     
    1917    <!-- ** include targets that all plugins have in common ** -->
    2018    <import file="../build-common.xml"/>
    2119
     20    <target name="resolve" description="--> retrieve dependencies with Ivy">
     21        <ivy:retrieve/>
     22    </target>
     23
     24    <target name="dist" depends="resolve,plugin_common.dist"/>
     25
    2226</project>
  • ivy.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<!-- License: GPL. For details, see LICENSE file. -->
     3<ivy-module version="2.0">
     4    <info organisation="org.openstreetmap" module="josm"/>
     5    <configurations>
     6        <conf name="ivy" description="Apache Ivy configuration for self-update"/>
     7        <!--  configuration that should be used when specifying dependencies -->
     8        <conf name="implementation" description="All libs JOSM uses that plugins should not use"/>
     9        <conf name="api" description="All libs that JOSM uses and are available for plugins"/>
     10        <conf name="runtimeOnly" description="The libs shipped with JOSM that we do not need during compilation"/>
     11        <conf name="provided" description="The libs we need during compilation but not on application start"/>
     12        <!--  Meta configuration used in build scripts -->
     13        <conf name="runtime" description="Libraries only needed at runtime" extends="implementation,api,runtimeOnly"/>
     14        <conf name="compile" description="Libraries needed only for compilation" extends="implementation,api,provided"/>
     15        <conf name="test" description="Libraries only needed for testing" extends="compile,runtime"/>
     16    </configurations>
     17    <dependencies>
     18        <dependency org="org.apache.httpcomponents" name="httpcore" rev="4.4.13" conf="api->default"/>
     19        <dependency org="org.apache.httpcomponents" name="httpclient" rev="4.5.12" conf="api->default"/>
     20        <dependency org="org.apache.httpcomponents" name="httpmime" rev="4.5.12" conf="api->default"/>
     21    </dependencies>
     22</ivy-module>