From 8e6354c4a4c78461c947049ac7f172ac6edb28b4 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Wed, 21 Jul 2010 11:24:42 -0400 Subject: [PATCH] - deleting and ignoring IDE specific files --- esl-client-bbb/.gitignore | 4 ++ esl-client-bbb/.project | 17 ----- .../.settings/org.maven.ide.eclipse.prefs | 9 --- esl-client-bbb/build.gradle | 69 +++++++++++++++++++ 4 files changed, 73 insertions(+), 26 deletions(-) create mode 100644 esl-client-bbb/.gitignore delete mode 100644 esl-client-bbb/.project delete mode 100644 esl-client-bbb/.settings/org.maven.ide.eclipse.prefs create mode 100755 esl-client-bbb/build.gradle diff --git a/esl-client-bbb/.gitignore b/esl-client-bbb/.gitignore new file mode 100644 index 000000000000..15dae3a8f73d --- /dev/null +++ b/esl-client-bbb/.gitignore @@ -0,0 +1,4 @@ +.project +.classpath +lib + diff --git a/esl-client-bbb/.project b/esl-client-bbb/.project deleted file mode 100644 index f0094e6111f5..000000000000 --- a/esl-client-bbb/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - org.freeswitch.esl - - - - - - org.maven.ide.eclipse.maven2Builder - - - - - - org.maven.ide.eclipse.maven2Nature - - diff --git a/esl-client-bbb/.settings/org.maven.ide.eclipse.prefs b/esl-client-bbb/.settings/org.maven.ide.eclipse.prefs deleted file mode 100644 index f2a6128255bb..000000000000 --- a/esl-client-bbb/.settings/org.maven.ide.eclipse.prefs +++ /dev/null @@ -1,9 +0,0 @@ -#Sat Dec 12 17:33:34 EST 2009 -activeProfiles= -eclipse.preferences.version=1 -fullBuildGoals=process-test-resources -includeModules=false -resolveWorkspaceProjects=true -resourceFilterGoals=process-resources resources\:testResources -skipCompilerPlugin=true -version=1 diff --git a/esl-client-bbb/build.gradle b/esl-client-bbb/build.gradle new file mode 100755 index 000000000000..2e203db0b216 --- /dev/null +++ b/esl-client-bbb/build.gradle @@ -0,0 +1,69 @@ +usePlugin 'eclipse' +usePlugin 'java' + +version = '0.7' +jar.enabled = true + +def appName = 'fs-esl-client' + +archivesBaseName = appName + +artifacts { + archives jar +} + +repositories { + add(new org.apache.ivy.plugins.resolver.ChainResolver()) { + name = 'remote' + returnFirst = true + add(new org.apache.ivy.plugins.resolver.URLResolver()) { + name = "googlecode" + addArtifactPattern "http://red5.googlecode.com/svn/repository/[artifact](-[revision]).[ext]" + addArtifactPattern "http://red5.googlecode.com/svn/repository/[organisation]/[artifact](-[revision]).[ext]" + } + add(new org.apache.ivy.plugins.resolver.URLResolver()) { + name = "blindside-repos" + addArtifactPattern "http://blindside.googlecode.com/svn/repository/[artifact](-[revision]).[ext]" + addArtifactPattern "http://blindside.googlecode.com/svn/repository/[organisation]/[artifact](-[revision]).[ext]" + } + add(new org.apache.ivy.plugins.resolver.URLResolver()) { + name = "maven2-central" + m2compatible = true + addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact](-[revision]).[ext]" + addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[artifact]/[revision]/[artifact](-[revision]).[ext]" + } + add(new org.apache.ivy.plugins.resolver.URLResolver()) { + name = "netty-dependency" + m2compatible = true + addArtifactPattern "http://repository.jboss.org/maven2/[organisation]/[module]/[revision]/[artifact](-[revision]).[ext]" + addArtifactPattern "http://repo1.maven.org/maven2/[organisation]/[artifact]/[revision]/[artifact](-[revision]).[ext]" + } + } + flatDir name: 'fileRepo', dirs: "/home/firstuser/dev/repo" +} + +dependencies { + + // Logging + compile ':slf4j-api:1.5.10@jar' + compile ':logback-core:0.9.18@jar' + compile ':logback-classic:0.9.18@jar' + compile ':jcl-over-slf4j:1.5.10@jar' + compile ':log4j-over-slf4j:1.5.10@jar' + + compile 'org.jboss.netty:netty:3.1.5.GA@jar' +} + + +uploadArchives { + uploadDescriptor = false + repositories { + add project.repositories.fileRepo + } +} + +task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) { + into('lib') + from configurations.default + from configurations.default.allArtifacts*.file +} \ No newline at end of file