[jboss-jira] [JBoss JIRA] Commented: (JBBUILD-504) Fix warning messages in the app server buld.
Paul Gier (JIRA)
jira-events at lists.jboss.org
Wed Dec 10 14:05:49 EST 2008
[ https://jira.jboss.org/jira/browse/JBBUILD-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441978#action_12441978 ]
Paul Gier commented on JBBUILD-504:
-----------------------------------
Checking whether a given task is defined is only available in ant 1.7. Maybe when ant 1.6.5 is no longer supported, a check can be added to the build to only load the tasks if they are not already defined.
The warning only occurs if the classpath used to load the tasks the second time is different from the classpath used the first time. If the classpaths are the same, then the message is only printed at the verbose log level. The only difference in the classpath is that the current working directory is included for each module. Only the buildmagic-tasks.jar is needed when loading the tasks, so the classpath can be changed to include only this jar.
> Fix warning messages in the app server buld.
> --------------------------------------------
>
> Key: JBBUILD-504
> URL: https://jira.jboss.org/jira/browse/JBBUILD-504
> Project: JBoss Build System
> Issue Type: Task
> Components: JBossBuild/Buildmagic
> Reporter: Paul Gier
> Assignee: Paul Gier
> Fix For: JBossBuild - Maint 2008
>
>
> The app server build gives warning messages about the custom tasks being overridden for each module. This should be fixed so that these warnings do not continue.
> {quote}
> Trying to override old definition of task libraryset
> Trying to override old definition of task execmodules
> Trying to override old definition of task resolveproperties
> Trying to override old definition of task resolver
> Trying to override old definition of task require
> Trying to override old definition of task _dump
> Trying to override old definition of task _puke
> Trying to override old definition of task moduleinit
> Trying to override old definition of task moduleconfig
> Trying to override old definition of task modulelibrary
> Trying to override old definition of task projectinfo
> Trying to override old definition of task library
> Trying to override old definition of task Ant
> Trying to override old definition of task moduleinfo
> Trying to override old definition of task projecthelp
> Trying to override old definition of task propertyfilter
> Trying to override old definition of task call
> Trying to override old definition of task property
> {quote}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list