Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Hi David, I'm not seeing Scott's problems Windows XP j2sdk1.4.1_01 ant-1.5.1 (October 2 2002) I'm seeing problems with the command line and the Builder task. It passes all system and environment properties. But it doesn't work very well when a value contains a space, e.g. Documents and Settings or JBoss Group, LLC The following temporary hack allows me to build xdoclet. Index: ModulesGrandBuilderTask.java === RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ant/modulesbuilder/ModulesGrandBuilderTask.java,v retrieving revision 1.10 diff -u -r1.10 ModulesGrandBuilderTask.java --- ModulesGrandBuilderTask.java 20 Dec 2002 16:49:10 - 1.10 +++ ModulesGrandBuilderTask.java 28 Dec 2002 14:44:32 - @@ -289,7 +289,8 @@ String value = props.get(arg).toString(); -cmdl.createArgument().setValue(-D + arg + = + value); +if (value.indexOf( ) == -1) +cmdl.createArgument().setValue(-D + arg + = + value); } exe.setCommandline(cmdl.getCommandline()); Regards, Adrian From: Scott M Stark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Date: Fri, 27 Dec 2002 16:04:11 -0800 This is just a stupid ass eol issue. I have cygwin setup to use unix style linefeeds and the .cvspass file is using the platform default. If I add the a fixcrlf command to the passfile target: target name=passfile depends=init cvspass cvsroot=${xdoclet.cvsroot} password= passfile=.cvspass/ fixcrlf srcdir=${module.root} includes=.cvspass eol=lf / /target then the checkout works file. This needs to be a conditionally enabled command to address this. Beyond that, the build still fails at the same point even if run more than once. I also see the same error if I run the build from whithin jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ build-externalizer: init: [echo] [echo] +-- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +-- validate-xtags: [xmlvalidate] 1 file(s) have been successfully validated. beautify: compile: xdoclet-xml: externalizer: jar: docs: [xslt] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [xslt] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [xslt] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(XslpLiaison.java:80) [xslt] at java.lang.Class.newInstance0(Native Method) [xslt] at java.lang.Class.newInstance(Class.java:232) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:376) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:557) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:195) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.Project.executeTargets(Project.java:1250) [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:610) [xslt] at org.apache.tools.ant.Main.start(Main.java:196) [xslt] at org.apache.tools.ant.Main.main(Main.java:235) [xslt] java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory [xslt] at org.apache.tools.ant.taskdefs.optional.XalanLiaison.init(XalanLiaison.java:84
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
If I run ant from xdoclet-ant\xdoclet I get a different error. This is the error I get (ran ant twice, only to get the error message we need, otherwise the log is to long): - C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xdocletant Buildfile: build.xml core: init: build-xjavadoc: [echo] XJavaDoc sources are available and newer than xjavadoc.jar. Building xjavadoc... init: [echo] C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/lib C:\cvs\jboss\HEAD\jboss-head\xdoclet\ checkout\xdoclet-all\xdoclet/target/lib/xdoclet-xjavadoc-1.2b2.jar C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet -all\xjavadoc/build/regular C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc C:\cvs\jboss\HEAD\jboss-h ead\xdoclet\checkout\xdoclet-all\xdoclet/target/lib pretty: prepare: jjtree: copy-grammar: generate-node-parser: generate-simple-parser: copy-grammar: generate-parsers: compile: jar: init: [echo] C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/lib C:\cvs\jboss\HEAD\jboss-head\xdoclet\ checkout\xdoclet-all\xdoclet/target/lib/xdoclet-xjavadoc-uc-1.2b2.jar C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoc let-all\xjavadoc/build/unicode C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc C:\cvs\jboss\HEAD\jbos s-head\xdoclet\checkout\xdoclet-all\xdoclet/target/lib pretty: prepare: jjtree: copy-grammar: generate-node-parser: generate-simple-parser: copy-grammar: generate-parsers: compile: jar: prepare: beautify: compile: build-externalizer: init: [echo] [echo] +-- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +-- validate-xtags: [xmlvalidate] 1 file(s) have been successfully validated. beautify: compile: xdoclet-xml: externalizer: jar: docs: copy-src: all: externalizer: jar: modules: dist: [builder] Buildfile: build.xml [builder] BUILD FAILED [builder] Target `and' does not exist in this project. [builder] Total time: 1 second BUILD FAILED file:C:/cvs/jboss/HEAD/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/modules/build.xml:24: 1 Total time: 7 seconds C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xdoclet --- and? Looks like a directory with spaces problem, but why? My PATH (Windows XP Pro): C:\Documents and Settings\Ricardoecho %PATH% C:\j2sdk1.4.1_01\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C :\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Microsoft.NET\FrameworkSDK \Bin\;C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE\;C:\WINDOWS\Micr osoft.NET\Framework\v1.0.3705\;C:\Program Files\Microsoft Visual Studio .NET\Vc7 \bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\C ommon Files\Adaptec Shared\System;C:\Java\jakarta-ant-1.5.1\bin;C:\Java\maven-1. 0-beta-6\bin;C:\Java\jikes-1.16\bin;C:\Program Files\CVS for NT\;C:\Java\mjp-00. 03-win32\bin;;C:\Program Files\SharpDevelop\bin; Thanks Ricardo Argüello - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 27, 2002 9:50 AM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Can you go to C:/cvs/jboss/HEAD/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ and run ant? this should build xdoclet normally. If it succeeds the problems are with my modifications to make xdoclet build insode jboss: otherwise the problem is in xdoclet build. I don't have windows and it works for me on linux and os X. thanks david jencks On 2002.12.27 03:31:12 -0500 Ricardo Argüello wrote: Hi, I did a cvs get _jboss_xdoclet in jboss-head, but I can't build JBoss anymore. Tried running build.bat twice, as the message suggests, and doesn't work either. It was compiling perfectly before that change... JDK: Sun 1.4.1_01 OS: Windows XP Pro Here is the message I get: - C:\cvs\jboss\HEAD\jboss-head\buildbuild Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-project: [echo] groups: default [echo] modules: xdoclet,common,jmx,system,aop,cache,j2ee,naming,management, transaction,server,blocks,console,security,messaging,connector,varia,cluster,jet ty,jboss.net,iiop _buildmagic:modules:most: == == == Executing 'most' in module 'xdoclet'... == == configure-modules: Overriding previous definition of reference to jboss.naming.classpath build-xjavadoc
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Adrian, Your patch worked. Thanks! I can build JBoss again. I have built XDoclet from the CVS in the past, and this problem never happened. This is really strange! Thanks anyway, Ricardo Arguello - Original Message - From: Adrian Brock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 28, 2002 9:53 AM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Hi David, I'm not seeing Scott's problems Windows XP j2sdk1.4.1_01 ant-1.5.1 (October 2 2002) I'm seeing problems with the command line and the Builder task. It passes all system and environment properties. But it doesn't work very well when a value contains a space, e.g. Documents and Settings or JBoss Group, LLC The following temporary hack allows me to build xdoclet. Index: ModulesGrandBuilderTask.java === RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ant/modulesbuilder/ModulesGrandBuilderTask.java,v retrieving revision 1.10 diff -u -r1.10 ModulesGrandBuilderTask.java --- ModulesGrandBuilderTask.java 20 Dec 2002 16:49:10 - 1.10 +++ ModulesGrandBuilderTask.java 28 Dec 2002 14:44:32 - @@ -289,7 +289,8 @@ String value = props.get(arg).toString(); -cmdl.createArgument().setValue(-D + arg + = + value); +if (value.indexOf( ) == -1) +cmdl.createArgument().setValue(-D + arg + = + value); } exe.setCommandline(cmdl.getCommandline()); Regards, Adrian From: Scott M Stark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Date: Fri, 27 Dec 2002 16:04:11 -0800 This is just a stupid ass eol issue. I have cygwin setup to use unix style linefeeds and the .cvspass file is using the platform default. If I add the a fixcrlf command to the passfile target: target name=passfile depends=init cvspass cvsroot=${xdoclet.cvsroot} password= passfile=.cvspass/ fixcrlf srcdir=${module.root} includes=.cvspass eol=lf / /target then the checkout works file. This needs to be a conditionally enabled command to address this. Beyond that, the build still fails at the same point even if run more than once. I also see the same error if I run the build from whithin jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ build-externalizer: init: [echo] [echo] +-- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +-- validate-xtags: [xmlvalidate] 1 file(s) have been successfully validated. beautify: compile: xdoclet-xml: externalizer: jar: docs: [xslt] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [xslt] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [xslt] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(XslpLiaison.java:80) [xslt] at java.lang.Class.newInstance0(Native Method) [xslt] at java.lang.Class.newInstance(Class.java:232) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:376) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:557) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:195) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
On 2002.12.28 14:00:09 -0500 Ricardo Argüello wrote: Adrian, Your patch worked. Thanks! I can build JBoss again. I have built XDoclet from the CVS in the past, and this problem never happened. This is really strange! In the last few days they changed so the ModulesBuilder copies all properties -- something we need anyway -- except for the ones with spaces. Can you build jboss +xdoclet cleanly in one pass or is it taking 2 passes? (I assume you are on windows?) Many thanks david jencks Thanks anyway, Ricardo Arguello - Original Message - From: Adrian Brock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 28, 2002 9:53 AM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Hi David, I'm not seeing Scott's problems Windows XP j2sdk1.4.1_01 ant-1.5.1 (October 2 2002) I'm seeing problems with the command line and the Builder task. It passes all system and environment properties. But it doesn't work very well when a value contains a space, e.g. Documents and Settings or JBoss Group, LLC The following temporary hack allows me to build xdoclet. Index: ModulesGrandBuilderTask.java === RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ant/modulesbuilder/ModulesGrandBuilderTask.java,v retrieving revision 1.10 diff -u -r1.10 ModulesGrandBuilderTask.java --- ModulesGrandBuilderTask.java 20 Dec 2002 16:49:10 - 1.10 +++ ModulesGrandBuilderTask.java 28 Dec 2002 14:44:32 - @@ -289,7 +289,8 @@ String value = props.get(arg).toString(); -cmdl.createArgument().setValue(-D + arg + = + value); +if (value.indexOf( ) == -1) +cmdl.createArgument().setValue(-D + arg + = + value); } exe.setCommandline(cmdl.getCommandline()); Regards, Adrian From: Scott M Stark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Date: Fri, 27 Dec 2002 16:04:11 -0800 This is just a stupid ass eol issue. I have cygwin setup to use unix style linefeeds and the .cvspass file is using the platform default. If I add the a fixcrlf command to the passfile target: target name=passfile depends=init cvspass cvsroot=${xdoclet.cvsroot} password= passfile=.cvspass/ fixcrlf srcdir=${module.root} includes=.cvspass eol=lf / /target then the checkout works file. This needs to be a conditionally enabled command to address this. Beyond that, the build still fails at the same point even if run more than once. I also see the same error if I run the build from whithin jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ build-externalizer: init: [echo] [echo] +-- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +-- validate-xtags: [xmlvalidate] 1 file(s) have been successfully validated. beautify: compile: xdoclet-xml: externalizer: jar: docs: [xslt] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [xslt] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [xslt] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(XslpLiaison.java:80) [xslt] at java.lang.Class.newInstance0(Native Method) [xslt] at java.lang.Class.newInstance(Class.java:232) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:376) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:557) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:195) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Two passes are needed. Windows XP Pro Sun JDK 1.4.1_01 Ricardo Arguello - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 28, 2002 3:04 PM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore On 2002.12.28 14:00:09 -0500 Ricardo Argüello wrote: Adrian, Your patch worked. Thanks! I can build JBoss again. I have built XDoclet from the CVS in the past, and this problem never happened. This is really strange! In the last few days they changed so the ModulesBuilder copies all properties -- something we need anyway -- except for the ones with spaces. Can you build jboss +xdoclet cleanly in one pass or is it taking 2 passes? (I assume you are on windows?) Many thanks david jencks Thanks anyway, Ricardo Arguello - Original Message - From: Adrian Brock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 28, 2002 9:53 AM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Hi David, I'm not seeing Scott's problems Windows XP j2sdk1.4.1_01 ant-1.5.1 (October 2 2002) I'm seeing problems with the command line and the Builder task. It passes all system and environment properties. But it doesn't work very well when a value contains a space, e.g. Documents and Settings or JBoss Group, LLC The following temporary hack allows me to build xdoclet. Index: ModulesGrandBuilderTask.java === RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ant/modulesbuilder/ModulesGrandBuilderTask.java,v retrieving revision 1.10 diff -u -r1.10 ModulesGrandBuilderTask.java --- ModulesGrandBuilderTask.java 20 Dec 2002 16:49:10 - 1.10 +++ ModulesGrandBuilderTask.java 28 Dec 2002 14:44:32 - @@ -289,7 +289,8 @@ String value = props.get(arg).toString(); -cmdl.createArgument().setValue(-D + arg + = + value); +if (value.indexOf( ) == -1) +cmdl.createArgument().setValue(-D + arg + = + value); } exe.setCommandline(cmdl.getCommandline()); Regards, Adrian From: Scott M Stark [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Date: Fri, 27 Dec 2002 16:04:11 -0800 This is just a stupid ass eol issue. I have cygwin setup to use unix style linefeeds and the .cvspass file is using the platform default. If I add the a fixcrlf command to the passfile target: target name=passfile depends=init cvspass cvsroot=${xdoclet.cvsroot} password= passfile=.cvspass/ fixcrlf srcdir=${module.root} includes=.cvspass eol=lf / /target then the checkout works file. This needs to be a conditionally enabled command to address this. Beyond that, the build still fails at the same point even if run more than once. I also see the same error if I run the build from whithin jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ build-externalizer: init: [echo] [echo] +-- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +-- validate-xtags: [xmlvalidate] 1 file(s) have been successfully validated. beautify: compile: xdoclet-xml: externalizer: jar: docs: [xslt] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [xslt] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [xslt] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.init(XslpLiaison.java:80) [xslt] at java.lang.Class.newInstance0(Native Method) [xslt] at java.lang.Class.newInstance(Class.java:232) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:376) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:557) [xslt] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:195) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Can you go to C:/cvs/jboss/HEAD/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ and run ant? this should build xdoclet normally. If it succeeds the problems are with my modifications to make xdoclet build insode jboss: otherwise the problem is in xdoclet build. I don't have windows and it works for me on linux and os X. thanks david jencks On 2002.12.27 03:31:12 -0500 Ricardo Argüello wrote: Hi, I did a cvs get _jboss_xdoclet in jboss-head, but I can't build JBoss anymore. Tried running build.bat twice, as the message suggests, and doesn't work either. It was compiling perfectly before that change... JDK: Sun 1.4.1_01 OS: Windows XP Pro Here is the message I get: - C:\cvs\jboss\HEAD\jboss-head\buildbuild Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-project: [echo] groups: default [echo] modules: xdoclet,common,jmx,system,aop,cache,j2ee,naming,management, transaction,server,blocks,console,security,messaging,connector,varia,cluster,jet ty,jboss.net,iiop _buildmagic:modules:most: == == == Executing 'most' in module 'xdoclet'... == == configure-modules: Overriding previous definition of reference to jboss.naming.classpath build-xjavadoc: [echo] XJavaDoc sources are available and newer than xjavadoc.jar. Building xjavadoc... init: [echo] C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/l ib C:\cvs\jboss\HEAD\jboss-head\xdoclet\output/lib/xdoclet-xjavadoc-jb4.jar C:\c vs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/build/regular C:\ cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc C:\cvs\jboss\HEA D\jboss-head\xdoclet\output/lib init: [echo] C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/l ib C:\cvs\jboss\HEAD\jboss-head\xdoclet\output/lib/xdoclet-xjavadoc-uc-jb4.jar C :\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc/build/unicode C:\cvs\jboss\HEAD\jboss-head\xdoclet\checkout\xdoclet-all\xjavadoc C:\cvs\jboss\ HEAD\jboss-head\xdoclet\output/lib init: [echo] [echo] +--- --- [echo] | [echo] | B U I L D I N G X D O C L E T M O D U L E 'xdoclet' [echo] | [echo] +--- --- validate-xtags: [xmlvalidate] c modules/xdoclet/src/META-INF/xtags.xml:1: Declared encoding ISO-8859-1 does no t match actual one Cp1252; this might not be an error. [xmlvalidate] 1 file(s) have been successfully validated. dist: [builder] Buildfile: build.xml [builder] BUILD FAILED [builder] Target `Files\Common' does not exist in this project. [builder] Total time: 1 second BUILD FAILED file:C:/cvs/jboss/HEAD/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/modules/b uild.xml:24: 1 Total time: 6 seconds Press any key to continue . . . --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
I got slightly further but a fresh checkout breaks for me as well (WinXP/Sun JDK1.4.1). The xdoclet, common and jmx modules seemed to build but system failed. jar: [jar] Building jar: D:\JBoss\jboss-head\xdoclet\checkout\xdoclet-all\xdocletgui\build\xdocletgui .jar [touch] Creating D:\JBoss\jboss-head\xdoclet\last.xdoclet.build compile: output: _default:most: most: == == == Finished 'most' in module 'xdoclet'. == == SNIP most: == == == Finished 'most' in module 'jmx'. == == _module-jmx-most: [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [copy] Copying 2 files to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy [echo] Copying service descriptors to install.server: D:\JBoss\jboss-head\build/output/jboss-4.0.0alpha/server [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy == == == Executing 'most' in module 'system'... == == _buildmagic:init: configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: _default:init: init: compile-mbean-sources: [mkdir] Created dir: D:\JBoss\jboss-head\system\output\gen\classes BUILD FAILED file:D:/JBoss/jboss-head/system/build.xml:120: Could not create task or type of type: jmxdoclet. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
This problem I know about. For me, building twice works. Either ant or buildmagic is messed up IMO. the xdoclet tasks seem to come and go with no pattern I can discern. Look at tools/etc/buildfragments/tools.ent. Redefining the tasks for each module breaks in one place, not redefining breaks in another place. I'm waiting for more inspiration... david jencks On 2002.12.27 13:44:41 -0500 Jeremy Boynes wrote: I got slightly further but a fresh checkout breaks for me as well (WinXP/Sun JDK1.4.1). The xdoclet, common and jmx modules seemed to build but system failed. jar: [jar] Building jar: D:\JBoss\jboss-head\xdoclet\checkout\xdoclet-all\xdocletgui\build\xdocletgui .jar [touch] Creating D:\JBoss\jboss-head\xdoclet\last.xdoclet.build compile: output: _default:most: most: == == == Finished 'most' in module 'xdoclet'. == == SNIP most: == == == Finished 'most' in module 'jmx'. == == _module-jmx-most: [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [copy] Copying 2 files to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy [echo] Copying service descriptors to install.server: D:\JBoss\jboss-head\build/output/jboss-4.0.0alpha/server [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy == == == Executing 'most' in module 'system'... == == _buildmagic:init: configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: _default:init: init: compile-mbean-sources: [mkdir] Created dir: D:\JBoss\jboss-head\system\output\gen\classes BUILD FAILED file:D:/JBoss/jboss-head/system/build.xml:120: Could not create task or type of type: jmxdoclet. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
RE: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Building twice worked - thanks (if a little worrying) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks Sent: Friday, December 27, 2002 12:13 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore This problem I know about. For me, building twice works. Either ant or buildmagic is messed up IMO. the xdoclet tasks seem to come and go with no pattern I can discern. Look at tools/etc/buildfragments/tools.ent. Redefining the tasks for each module breaks in one place, not redefining breaks in another place. I'm waiting for more inspiration... david jencks On 2002.12.27 13:44:41 -0500 Jeremy Boynes wrote: I got slightly further but a fresh checkout breaks for me as well (WinXP/Sun JDK1.4.1). The xdoclet, common and jmx modules seemed to build but system failed. jar: [jar] Building jar: D:\JBoss\jboss-head\xdoclet\checkout\xdoclet-all\xdocletgui\build\ xdocletgui .jar [touch] Creating D:\JBoss\jboss-head\xdoclet\last.xdoclet.build compile: output: _default:most: most: == == == Finished 'most' in module 'xdoclet'. == == SNIP most: == == == Finished 'most' in module 'jmx'. == == _module-jmx-most: [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [copy] Copying 2 files to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\lib [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\docs\dtd [mkdir] Created dir: D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy [echo] Copying service descriptors to install.server: D:\JBoss\jboss-head\build/output/jboss-4.0.0alpha/server [copy] Copying 1 file to D:\JBoss\jboss-head\build\output\jboss-4.0.0alpha\server\default\deploy == == == Executing 'most' in module 'system'... == == _buildmagic:init: configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: _default:init: init: compile-mbean-sources: [mkdir] Created dir: D:\JBoss\jboss-head\system\output\gen\classes BUILD FAILED file:D:/JBoss/jboss-head/system/build.xml:120: Could not create task or type of type: jmxdoclet. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Neither running ant or build.sh twice from the jboss-head/xdoclet dir or the jboss-head/build directory get past this error for me. I see the same error regarding rejected access to /cvsroot/xdoclet for user anonymous. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 27, 2002 12:12 PM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore This problem I know about. For me, building twice works. Either ant or buildmagic is messed up IMO. the xdoclet tasks seem to come and go with no pattern I can discern. Look at tools/etc/buildfragments/tools.ent. Redefining the tasks for each module breaks in one place, not redefining breaks in another place. I'm waiting for more inspiration... david jencks --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
Do you see any obvious differences between your jboss cvs checkout command and the one ant is trying to get xdoclet? david On 2002.12.27 15:36:17 -0500 Scott M Stark wrote: If I do a clean co of jboss-head and just try to run ant from within the xdoclet directory this fails. It does not matter if I use ant directly or the build.sh script. This is on a WinXP box setup with cygwin. xdoclet 536ant -version Apache Ant version 1.5.1 compiled on October 2 2002 xdoclet 537ant Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:buildlog: configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: _default:init: init: passfile: checkout: [mkdir] Created dir: C:\usr\Main\jboss-head\xdoclet\checkout [cvs] Using cvs passfile: C:\usr\Main\jboss-head\xdoclet\.cvspass [cvs] cvs checkout: authorization failed: server cvs.xdoclet.sourceforge.n et rejected access to /cvsroot/xdoclet for user anonymous BUILD FAILED file:C:/usr/Main/jboss-head/xdoclet/build.xml:173: cvs exited with error code 1 Command line was [Executing 'cvs' with arguments: '-d:pserver:[EMAIL PROTECTED]:/cvsroot/xdoclet' '-q' '-z3' 'checkout' '-P' 'xdoclet-all' The ' characters around the executable and arguments are not part of the command. environment: ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\starksm\Application Data COMMONPROGRAMFILES=C:\Program Files\Common Files COMPUTERNAME=BANSHEE COMSPEC=C:\WINDOWS\system32\cmd.exe CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot/jboss CVS_RSH=ssh CYGWIN=ntsec tty HOME=C:\Scott HOMEDRIVE=C: HOMEPATH=\Documents and Settings\starksm JAVA_HOME=C:\usr\local\Java\jdk1.3.1_05 LOGONSERVER=\\BANSHEE MANPATH=/cygwin/usr/man NUMBER_OF_PROCESSORS=1 OLDPWD=/usr/Main/jboss-head OS=Windows_NT PATH=C:\cygwin\bin;C;C:\usr\local\Java\jdk1.3.1_05\bin;C;C:\usr\local\Ja va\Jakarta\jakarta-ant-1.5.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste m32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\Se cureCRT 3.0;.;. PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0204 PROGRAMFILES=C:\Program Files PROMPT=$T$G PWD=/usr/Main/jboss-head/xdoclet SESSIONNAME=Console SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT=C:\WINDOWS TEMP=C:\WINDOWS\TEMP TERM=cygwin TMP=C:\WINDOWS\TEMP USERDOMAIN=BANSHEE USERNAME=starksm USERPROFILE=C:\Documents and Settings\starksm WINDIR=C:\WINDOWS _=/usr/local/Java/Jakarta/jakarta-ant-1.5.1/bin/ant CVS_PASSFILE=C:\usr\Main\jboss-head\xdoclet\.cvspass] Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 27, 2002 6:50 AM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Can you go to C:/cvs/jboss/HEAD/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/ and run ant? this should build xdoclet normally. If it succeeds the problems are with my modifications to make xdoclet build insode jboss: otherwise the problem is in xdoclet build. I don't have windows and it works for me on linux and os X. thanks david jencks --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore
] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) [xslt] at org.apache.tools.ant.Task.perform(Task.java:319) [xslt] at org.apache.tools.ant.Target.execute(Target.java:309) [xslt] at org.apache.tools.ant.Target.performTasks(Target.java:336) [xslt] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [xslt] at org.apache.tools.ant.Project.executeTargets(Project.java:1250) [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:610) [xslt] at org.apache.tools.ant.Main.start(Main.java:196) [xslt] at org.apache.tools.ant.Main.main(Main.java:235) BUILD FAILED file:C:/usr/Main/jboss-head/xdoclet/checkout/xdoclet-all/xdoclet/modules/modules -common.ent:251: javax.xml.transform.TransformerFactoryConfigurationError: Provi der for javax.xml.transform.TransformerFactory cannot be found Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 27, 2002 1:25 PM Subject: Re: [JBoss-dev] New XDoclet module: I can't compile JBoss anymore Do you see any obvious differences between your jboss cvs checkout command and the one ant is trying to get xdoclet? david --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development