This is not really a uPortal bug but it affects our uPortal build process. The problem is that the Pluto Maven plugin has a bug such that is leaves behind a war file in the tmp directory every time it is run. I tracked the problem down to the class http://svn.apache.org/repos/asf/portals/pluto/tags/pluto-1.1.7/pluto-util/src/main/java/org/apache/pluto/util/assemble/AbstractArchiveAssembler.java where it does the following:

                   dest = File.createTempFile( source.getName(), ".tmp" );
                   config.setDestination( dest );
                   assembleInternal( config );
                   // renameTo() is impl-specific
                   boolean success = dest.renameTo( source );
                   if (! success ) {
                       // do it the old-fashioned way
                       FileUtils.copyFile( dest, source );

                   }

I believe this code needs to remove the temp file after the copy. I have created a jira in the Pluto project http://issues.apache.org/jira/browse/PLUTO-587. I am sort of hoping that Eric or Elliot will see this and put in the fix. Because I know you have nothing else to do... ;-)
Susan

--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to