Showing posts with label Release. Show all posts
Showing posts with label Release. Show all posts

Sunday, 7 November 2010

Lock Source file in Perforce while using Maven release plugin

Hi,

I got an error in Hudson console out saying the build fail because Maven release plugin cannot update POM.xml version while there are still unresolved files. The problem is caused by other people updating the POM during the build.

Can any guru teach me how to solve the problem? I am think about a P4 lock, anyone can give me more details of using P4 lock with Maven and hudson?


View the original article here

Wednesday, 3 November 2010

Release Engineer - Investment banking

Release Engineer - Investment Banking

My investment banking client requires a highly skilled release engineer aligned to market leading asset division. The successful candidate will be expected to fully contribute to all areas of release management including planning / scheduling, tools maintenance & development, source code control, build / deploy / configuration and process improvement.

Technically, the ideal candidate will have a strong knowledge of source code control systems (preferably ClearCase, perforce) and knowledge of automation tools (Cruise Control, nant,)

In addtion, its will be highly desitrable to have a good knowledge of relational database systems and servers

If you have any questions, please do not hesitate to contact me at khamilton@astoncarter.co.uk

Aston Carter Ltd is acting as an Employment Agency in relation to this vacancy.


View the original article here

Monday, 1 November 2010

P4Java Release Compatibility

Article #:1306Created:10/21/10Modified:10/21/10

The P4Java API maintains binary forward and backward compatibility with applications using P4Java in the face of new functionality continually being added to the Perforce server.

P4Java's strategy for binary forward and backward compatibility was introduced in the 2010.1 release.  Binary compatibility allows for a later P4Java jar file to replace an older one without needing to recompile the implementing application.  See Oracle's Binary Compatibility Guide for more information on binary compatibility. P4Java is guaranteed to be binary forward and backward compatible for version 2009.3 and later.


Make a distinction between "fundamental" and behavioral" parameters.

Fundamental parameters are things such as filespecs that a command needs to execute. Behavioral parameters are the various modifying flags you can pass to the command.

Move behavioral parameters into new "Options" classes.

Each supported Perforce command has its own Options class (for example, SyncOptions).

Passing null for an options parameter is the same as passing a new Options object, and has the same effect as passing no flags to a p4 command. List files = sync(FileSpecBuilder.makeFileSpecList("//depot/..."), null);is equivalent to List files = sync(FileSpecBuilder.makeFileSpecList("//depot/..."), new SyncOptions());Use of chainable setters is encouraged List files = sync(FileSpecBuilder.makeFileSpecList("//depot/..."), new SyncOptions().setClientBypass(true).setForceUpdate(true));Use a more general "throws" clause.

Method signatures throw P4JavaException rather than the various possible exceptions such as ConnectionException, AccessException, and RequestException. Each of these exceptions extend P4JavaException, and the method may continue to throw the extending exceptions classes, allowing the developer to manage the various exceptions separately if desired. Should a new exception class be added, it will also extend P4JavaException.

Implement new method signatures via a new server interface, IOptionsServer.

IOptionsServer extends IServer. All existing commands are reimplemented in IOptionsServer according to the new paradigm. All new functionality will be added to IOptionsServer following the new implementation style.

NOTE:  The older style of P4Java methods will be deprecated in a future release.   Ample time will be given to P4Java users to modify their existing code to the new style.


View the original article here