Here's a simple version of what I'm trying to do.
--
View this message in context:
http://www.nabble.com/ant-global-properies-%28variable%29-tp19184177p19186036.ht
I have a unit-test task which uses foreach to break up a list of unit test
files, and runs the task 'parse' on each file.
When I receieve an error code, or an empty log file is created, I want to
set a certain property to true inside the parse task. I was hoping this
would work, but as soon as th
Can I create documentation from class or jar files? I tried both. Putting a
list of jars in the classpath, and unjarring and putting the class files
themselves as the classpath. Both times I was including actual source I was
building too, but want to generate documentation for the dependencies. I
he output. That will help you determine whether or not the hook
> is actually firing.
>
> Copy your repository, and startup another server instance, and use
> that as a test bed. I have a special "xdev" repository defined in
> Apache for this type of experimenting.
>
>
Found a solution. Have to go into sudoers and comment 'requiretty'
Doesn't seem to be a way around this other than commenting out this line.
krzysieq wrote:
>
> Forgot to close the double quote at the end of arg line...
>
> 2008/7/25 Krzysieq <[EMAIL PROTECTED]>
>
>> Not sure, but maybe this
What I'm doing is tagging a build in an ant script using a user 'build'. This
is an actual user, and not something like apache or someone without a shell
account.
I've got automated builds triggered using Atlassian Bamboo when done from
the command line or doing a commit in a third party app like
meh.. I give up.
ssh'in into root by adding build's pub key to root's authorized_keys' file.
Systems might have some problems with it, but it works for now.
--
View this message in context:
http://www.nabble.com/sshexec-%28running-remote-commands-with-sudo%29-forced-psuedo-tty-allocation-t
ll script:
> ./antRunAsync.sh ./run.sh
>
> In this way I never use the -t argument and nohup works properly from
> the run script. Maybe a similar setup would work for you?
>
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday
/marc.info/?l=ant-user&m=120128316829325&w=2
>
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2008 11:08 AM
> To: user@ant.apache.org
> Subject: RE: sshexec (running remote commands with sudo) forced
> psuedo-t
ne.
ruel loehr wrote:
>
> why can't you just do an exec with the command ssh -t .?
>
> -Original Message-
> From: mindspin311 [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2008 10:37 AM
> To: user@ant.apache.org
> Subject: sshexec
I'm trying to mimic this command in ant:
[EMAIL PROTECTED]ssh -t [EMAIL PROTECTED] sudo
/sbin/service httpd restart
build has password-less ssh access to deploy's accounts. Deploy also has
password-less sudoers access to run any root owned apps. This is the only
way I can do this without bein
I'm using ant-contrib's propertyregex task to try to extract a revision
number from the repository without making any changes to a sandbox, so svn
up is no good...
I'm using this for the regexp attribute to parse the output of svn info:
regexp="Path: ([^\.]*)\n
I want to do some phpunit testing using
I can't do this if I'm not gonna know the names of the files to test. All I
know is that they end with *Test.php where * can be whatever.. I just want
to be able to generate a string of all of these files in the current and all
subdirectories. Something l
I'm using scp to transfer a file to a server. I need to gain access of the
user deploy in order to to this (sudo su deploy) Is there a way to do this
inside the scp task? I currently had to ask a systems guy at my work to give
me temp permissions to use deploy under my current name, but was wonder
ow, how do I extract just the 100?
Is there any built in functionality that will solve this, or do I have to
make my own task to handle something like this?
mindspin311 wrote:
>
> If I have the following path: /blah/foo/trunk/
>
> I want to be able to assign just "trunk
If I have the following path: /blah/foo/trunk/
I want to be able to assign just "trunk" to a property, similar to dirname:
This returns the whole path. I just want it to return the last element of a
directory.
--
View this message in context:
http://www.nabble.com/Need-to-find-current
First let me say, sorry for posting on the dev board. I'll try to delete it
after submitting this post.
This is all being done in Unix for tarring a directory of php files.
The process I'm trying to do is:
given a folder you're either in or are sending as a command line argument,
1. tar it
2.
17 matches
Mail list logo