Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ant-dev] Feedback on M3


I've been using the M3 release and testing the Ant/Ant View integration.

1. I think I found a bug. I made a mistake defining an ant task on the task
page. The error was:

      Buildfile: D:/devel/build/ebtdomain/ant/build.xml
      BUILD FAILED: Class wsgen not found for task
weblogic.ant.taskdefs.ejb.WSGen
      Class wsgen not found for task weblogic.ant.taskdefs.ejb.WSGen

The message seems to have the task name and class confused. That is, it
should be:

      BUILD FAILED: Class weblogic.ant.taskdefs.ejb.WSGen not found for
task wsgen

not,  BUILD FAILED: Class wsgen not found for task
weblogic.ant.taskdefs.ejb.WSGen



2. It looked as if whenever I forked a process for a <java> task, the Java
task created a new window which came to the foreground. This wouldn't be an
issue, except it pops up right in front of everything I'm trying to do. My
build file executes tasks in 8-10 other build files - and each has a
similar task. This means that I got 8-10 pop-up java processes while I was
trying to do other tasks while the build was running. Can these not go to
the foreground? Can it be suppressed?

I believe it was a java task similar to this one that caused this:

            <java       classname="weblogic.ejbc" fork="yes" failonerror
="true">
                  <arg value="${a.jar}"/>
                  <arg value="${a.jar.ejbc}"/>
                    <classpath refid="compile.path"/>
            </java>




3. Problem finding JUnit task: I got the following error:

BUILD FAILED: file:D:/devel/build/ebtdomain/ant/billing/billing.xml:437:
Could not create task or type of type: junit.
Ant could not find the task or a class this task relies upon.

I'm not sure why this is - when I run the build file outside of eclipse it
works. This is a sub-build file I invoke using the task:

      <ant antfile="billing.xml" dir="billing" target="deploy-all"/>

I set my own ANT_HOME and had the following jar files defined in the Ant
properties pane:

junit.jar
ant.jar
optional.jar
xercesImpl.jar
xml-apis.jar
wsgen.jar (contains a bunch of classes from Weblogic - it's last on the
classpath and has no ant-related tasks in it)




4. build file naming preferences.

I have a top level build file with about 10 lower level build files I
execute <ant> tasks to invoke. All the lower level build files are named
after their components (e.g., billing.xml for the billing application). As
it is, Ant View only can search for a single file name at a time depending
on the name I specifiy in the preferences.

I'd like to be able to have an overall build 'system' that has a number of
build files with whatever names I want to give them - and be able to have
Ant View see them all and allow me to execute tasks in any of them. Can you
provide an option for it to find ALL xml files in a path? I know this can
bring back too many files, but it might be better than only seenig a single
file name at a time. Maybe you could define a <antview> task that Ant View
could look for in the XML files to hook it into the build system.  Or open
each XML file you find and look for <project> as the root element (at least
as an option, if not by default).


But overall it looks great. Once this gets released into the "Latest
Release" level we'll probably standardize our department on this - Thanks!

Kevin






---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




Back to the top