Hi Stephane, Stephane Nicoll wrote on Tuesday, January 24, 2006 3:31 PM:
> Works for me, logging level should be at least info > > Show your code please Initialization from plugin.jelly: ========= %< ======== <goal name="xxx:prereq" description="Ensure all necessary properties"> <j:useBean var="xxx" class="com.elsagsolutions.plugins.xxx.Bean" project="${pom}" targetDirectory="${maven.xxx.zip.dir}" /> </goal> <goal name="xxx:prepare-zip" description="Prepare filesystem with any files to be included into the zip" prereqs="xxx:prereq"> <j:set var="maven.xxx.zip.dir.final" value="${xxx.prepareZip()}" /> </goal> ========= %< ======== Snippets from the Java-Code: ========= %< ======== private static Log log = LogFactory.getLog(QualityManagementBridgeBean.class); public File prepareZip() throws MavenException { checkAttributes(); final Map apps = createDomains(); createApplications(apps); log.warn("Processed apps"); final Map ejbs = new HashMap(); final Map wars = new HashMap(); for (final Iterator iter = apps.keySet().iterator(); iter.hasNext();) { final String appName = (String)iter.next(); final Map ears = (Map)apps.get(appName); createEARs(ears, ejbs, wars); } log.warn("Processed ears"); createEJBs(ejbs); log.warn("Processed ejbs"); createWARs(wars); log.warn("Processed wars"); return domsDir.getParentFile(); } ========= %< ======== no output to console at all. If I log as error I get the output, but again not synchronized with the printed lines from the jelly code: ========= %< ======== $ maven clean xxx:prepare-zip __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: clean:clean: [delete] Deleting directory C:\Work\Projects\maven-1-plugins\xxx\src\plugin-test\target Processed apps Processed ears Processed ejbs Processed wars clean: xxx:prereq: xxx:prepare-zip: BUILD SUCCESSFUL Total time: 43 seconds Finished at: Wed Jan 25 16:23:24 CET 2006 ========= %< ======== The lines should have been printed after "xxx:prepare-zip". [snip] - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]