progress on hazelcast
more/packages/java.scm
| 1704 | 1704 | ;#:test-target "test" | |
| 1705 | 1705 | #:phases | |
| 1706 | 1706 | (modify-phases %standard-phases | |
| 1707 | + | (add-before 'build 'copy-ressources | |
| 1708 | + | (lambda _ | |
| 1709 | + | (copy-recursively "src/main/resources" "build/classes") | |
| 1710 | + | #t)) | |
| 1707 | 1711 | (add-before 'build 'remove-unpackaged-dependencies | |
| 1708 | 1712 | ;; TODO: package these dependencies | |
| 1709 | 1713 | (lambda _ | |
… | |||
| 1812 | 1816 | (modify-phases %standard-phases | |
| 1813 | 1817 | (add-before 'build 'copy-resources | |
| 1814 | 1818 | (lambda _ | |
| 1815 | - | (copy-recursively "hazelcast-core-generator/src/main/resources" | |
| 1819 | + | (copy-recursively "hazelcast-code-generator/src/main/resources" | |
| 1816 | 1820 | "build/classes") | |
| 1817 | 1821 | #t))))) | |
| 1818 | 1822 | (inputs | |
… | |||
| 1854 | 1858 | #:tests? #f | |
| 1855 | 1859 | #:phases | |
| 1856 | 1860 | (modify-phases %standard-phases | |
| 1861 | + | (add-before 'build 'use-annotation-processor | |
| 1862 | + | (lambda _ | |
| 1863 | + | (substitute* "build.xml" | |
| 1864 | + | (("classpath=\"@refidclasspath\" />") | |
| 1865 | + | "classpath=\"@refidclasspath\"> | |
| 1866 | + | <compilerarg line=\"-processor com.hazelcast.client.protocol.generator.CodecCodeGenerator\"/> | |
| 1867 | + | <compilerarg line=\"-s hazelcast/src/main/java\"/> | |
| 1868 | + | </javac>") | |
| 1869 | + | (("<javac") "<javac source=\"1.6\"")) | |
| 1870 | + | #t)) | |
| 1871 | + | (add-before 'build 'fix-renamed-dependencies | |
| 1872 | + | (lambda _ | |
| 1873 | + | (substitute* '("hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/AwsAddressProvider.java" | |
| 1874 | + | "hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/discovery/HazelcastCloudDiscovery.java") | |
| 1875 | + | (("com.hazelcast.com.eclipsesource.json") "com.eclipsesource.json")) | |
| 1876 | + | (substitute* "hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/AwsAddressProvider.java" | |
| 1877 | + | (("com.hazelcast.aws.AWSClient") "aws.AWSClient")) | |
| 1878 | + | #t)) | |
| 1857 | 1879 | (add-before 'build 'unpack-client-protocol | |
| 1858 | 1880 | (lambda* (#:key inputs #:allow-other-keys) | |
| 1859 | 1881 | (display (assoc-ref inputs "java-hazelcast-client-protocol-source")) | |
… | |||
| 1865 | 1887 | (for-each delete-file (find-files "." "package-info.java")) | |
| 1866 | 1888 | #t))))) | |
| 1867 | 1889 | (inputs | |
| 1868 | - | `(("java-findbugs" ,java-findbugs) | |
| 1890 | + | `(("java-commons-logging-minimal" ,java-commons-logging-minimal) | |
| 1891 | + | ("java-apache-freemarker" ,java-apache-freemarker) | |
| 1892 | + | ("java-hazelcast-code-generator" ,java-hazelcast-code-generator) | |
| 1893 | + | ("java-hazelcast-client-protocol-source" ,java-hazelcast-client-protocol-source) | |
| 1869 | 1894 | ("java-jsr107" ,java-jsr107) | |
| 1870 | 1895 | ("java-jsr305" ,java-jsr305) | |
| 1896 | + | ("java-log4j-1.2-api" ,java-log4j-1.2-api) | |
| 1897 | + | ("java-log4j-api" ,java-log4j-api) | |
| 1871 | 1898 | ("java-minimal-json" ,java-minimal-json) | |
| 1872 | - | ("java-hazelcast-client-protocol-source" ,java-hazelcast-client-protocol-source))) | |
| 1899 | + | ("java-osgi-core" ,java-osgi-core) | |
| 1900 | + | ("java-slf4j-api" ,java-slf4j-api) | |
| 1901 | + | ("java-spotbugs-annotations" ,java-spotbugs-annotations))) | |
| 1873 | 1902 | (home-page "https://hazelcast.org") | |
| 1874 | 1903 | (synopsis "") | |
| 1875 | 1904 | (description "") | |