I'm trying to automate a server bootstrap for different users the following
from a Gradle:
The following command is executed by Root once the OS is installed and
managed by each user:
su - $username bash -c svn checkout
http://programming-artifacts.googlecode.com/svn/trunk/
Merlyn,
You made my Saturday a better day... Thanks man!!! I had read about that,
but did not try... I got a better view of it with tokenize() and to
better maintain the commands separate... Trying to make this more intuitive
for users (who will eventually maintain a VERY large build system for
Hi Rene,
Yes, bash complains about the structure of the command... I tried so many
variations until I found the explanation:
You are getting that error because you are telling bash to interpret
/usr/bin/svn. Since /usr/bin/svn is a binary file and not a bash script,
bash is giving you that
Hello all,
I must say I'm hooked with Gradle and I was finally saved from the XML hell
from ANT + Maven... :) 15 lines of code to generate a Jar, push the library
to my internal nexus Maven repository... Impressed Thanks guys
Now I'm trying to migrate the following command-line shell
Hi Marlyn,
Taking your question literally you'll need to pass your compile classpath
to ant.javac.
Wouldn't there be any magical Maven dependency way to do that? I could use
the user's .m2 cache path, but I wanted gradle/maven to take care of it for
me... :)
I'd like to lead you in a
After a few more attempts, I passed from the sourceSets block... The only way
I could get it working was by adding the main block before the jpa
one... So, I went to the annotations project where I first used the
sourceSets and added the jpa block... Guess what? It worked over there...
But, the
Hey Merlyn,
Just to keep it documented, I got it working!!! Man, Gradle is awesome!
thanks a lot for your help... Here's the complete code for processing Java 6
Annotations with Javac compiler flags + dependencies expressed in Maven...
Is this a bug?
// The definition of jpa sourceSet WILL ONLY
Szczepan Faber wrote:
We'll try :) What tasks did you miss examples most? Where do learn
about tasks, from the user guide or the DSL reference?
From the tutorial and each individual documentation, we can get the idea of
the DSLs... But the concept of extensions of those concepts are still
I also prefer a predictable directory structure over a generated one... I see
I could play with Maven dependencies and do gradle install to get the jars
from .m2, but I don't know if 2 different places are really necessary...
While I'm in the middle of migrating ANT build.xml and Maven pom.xml to
I have been trying to get the same JAR uploaded to maven in another file
system directory... I have tried the following
uploadArchives {
repositories.mavenDeployer {
name = 'sshDeployer' // optional
configuration = configurations.deployerJars
repository(url:
I have the same problem described here:
http://www.genmaint.com/in-gradle-how-do-ignore-the-cache-for-a-local-ivy-repository.html
Gradle M3 still ignores the useOrigin = true...
Please let me know if you guys have another solution...
--
View this message in context:
I could get this done removing the cache manually each time I compile... It
does not work even with the useOrigin = true..
// Defining the thirdparty directory as a repository with the directory
structure patterns used.
def thirdpartyDir = new File($projectDir/../thirdparty).getCanonicalPath()
Hi Adam,
I have to commit my partial work to version control, but I'm constantly
refactoring what I have done in previous releases of Gradle!!! :) I will
definitely upgrade if ALL the m4 bugs are fixed!!! :D
thanks
Marcello
--
View this message in context:
Hi all,
I have 3 long-running tasks imported (oahu-jar, client-sdk, common)
from an ANT script as shown below:
These ANT tasks have rich output in the stdout when they are executed.
However, the output of all of them are somehow suppressed when executed from
Gradle...
Is there a way to get
Hi TheKaptain,
The flags -i and -d are logging leves for Gradle, not for the imported ANT
tasks... I'm looking for the output of the imported tasks, as they output
stuff the the stdout... The switch -i printed information about the build
script:
I was trying to use execute() as the execution
Hi Vsajja,
I tried it again today... The correct way I got it to work in a custom task
was:
I was hoping to get ONLY the jar copied to the file system, but it actually
creates a local Maven repository, which is what is defined. I just created a
custom task for this purpose.
--
View this
Hi guys,
Here's something similar I was working on before...
http://marcellodesales.wordpress.com/2012/04/24/managing-and-building-version-controlled-maven-repos-using-git-gradle-and-nexus-server/
Thanks
Marcello
--
View this message in context:
17 matches
Mail list logo