Skip to main content

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


Problem (1): I filed a bug and fixed the message problem:
http://bugs.eclipse.org/bugs/show_bug.cgi?id=26629

Problem (2): This is likely due to the implementation of the "java" task. If it uses "java" on the command line, rather than "javaw", then a window will be opened. However, if you launch the Eclipse SDK with "java" rather than "javaw" then subsquent "java"'s will not open a console (because only one console will be opened at most). I looked at the "java" task, but did not see a way to specify the "exe" to use when launching the forked VM (although I am not really familiar with the task - so there may be something you can do with the "jvm" attribute).

Problem (3): Please file a bugzilla bug report with more deatils, or  a simpler test case if possible. [I noticed that you are not signed up in bugzillia, but it is easy to do so].

Problem (4): Please file a feature request. I was wondering if being able to enter more than one name/pattern in the AntView's file name attribute would help? I.e. if you could enter a list of file names with wildcards, like "build.xml, export*.xml".

Darin



Kevin.Bedell@xxxxxxxxxxx
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

11/18/2002 11:24 AM
Please respond to platform-ant-dev

       
        To:        platform-ant-dev@xxxxxxxxxxx
        cc:        
        Subject:        [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.
---------------------------------------------------------------------------


_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev



Back to the top