我想为一些插件创建phing任务,所以目录结构是这样的
root
- plugin1
- index.php
- plugin2
- index.php
Run Code Online (Sandbox Code Playgroud)
等等..
我想在每个子目录上运行相同的任务 - 例如
这可能吗?我需要类似的东西
<foreach param="filename" absparam="absfilename" target="subtask">
<fileset dir=".">
<include name="*.php"/>
</fileset>
</foreach>
Run Code Online (Sandbox Code Playgroud)
但对于目录.
或者我是否必须为每个插件独立编写build.xml?
非常感谢.
我尝试按照本手册安装git + gitolite - 使用服务器的root instalation.我只是不明白新的gitolite用户是否必须拥有他们的用户帐户?.当我将tester.pub密钥添加到keydir文件夹并配置访问某些存储库时,git总是要求输入密码并且不允许我克隆任何东西
git clone tester@myserver.com:testrepo
Initialized empty Git repository in /home/testuser/git/testrepo/.git/
testuser@myserver.com's password:
Permission denied (publickey,password).
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
我不相信创建系统帐户(adduser testuser)是必要的,因为即使没有root访问服务器,gitolite也应该是可安装和可配置的.
那么有人可以告诉我我误解了什么吗?
非常感谢你.
编辑:
嗯...我使用客户端安装脚本重新安装gitolite .现在加入,推动新的酒吧钥匙成功地改变了的〜/ .ssh/authorized_keys中为我的Git在服务器上的用户.所以它似乎比我的第一次尝试更好.但我仍然无法从其他地方克隆任何产品.当我尝试使用msysgit为我的Windows PC添加pub键+编辑配置时,请尝试
$ git clone git@server.com:project.git
cloning into project...
Fatal ERROR: unable to authenticate
Fatal: the remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
另一方面,当尝试另一个Linux时,它仍然要求输入密码.
# git clone git@server.com:project.git
Cloning into project...
git@server.com's password:
Run Code Online (Sandbox Code Playgroud)
即使我为git用户提供密码: …