History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-198
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Robin Shen
Reporter: Johan Grape
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Multiple patterns not working in Fix Permissions and Publish Artifacts Steps

Created: 30/Jan/07 09:17 AM   Updated: 30/Jan/07 05:20 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Win2K, AIX 5.2, WinXP64, HPUX 11 HPUX11i, Solaris 8, Java 1.5, Java 1.4.2


 Description  « Hide
In both the Fix Permissions step and Publish artifacts step, multiple File name patterns do not work. It used to be that you could specify eg,: *.sh *.pl, but now you can only specify a single pattern.

 All   Comments   Work Log   Change History      Sort Order:
Johan Grape [30/Jan/07 09:21 AM]
Here is the step definition in question for QB 1.2.1:

Step type Publish artifacts
Step necessary condition !this.parent.anyChildStepFailed
Description ------
Source directory ${workingDir}\checkouts\EnCapta\applications
File name patterns *.dll *.lib
Is publish recursively? yes
Destination directory applications
Is create symbol links? no

Johan Grape [30/Jan/07 09:23 AM]
Here is the step in question for QB 1.0.14

Step type Change file permissions
Step necessary condition !this.parent.anyChildStepFailed
Source directory ------
File name patterns *.pl *.sh
Change permissions recursively yes
Permission string a+rwx

Johan Grape [30/Jan/07 09:42 AM]

On AIX, this shows up in the build log file:

2007-01-30 09:21:21,464 [Thread-526] WARN - Warning: UNIXProcess.forkAndExec native error: The parameter or environment lists are too long.

Johan Grape [30/Jan/07 10:17 AM]
Ok - looks like the problem can be split into two seperate problems:

Windows (1.2.1): publish does not support multiple patterns

Unix (1.0.14): fix permissions step fails for various reasons.

Robin Shen [30/Jan/07 05:20 PM]
As the readme.txt of version 1.2.x describes, multiple patterns should now be separated by comma instead of spaces.

This also holds true for "fix end of line character of text files" step for 1.0.14 (but other patterns are still separated by spaces).

Regards.
Robin