Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 42207 invoked from network); 27 Feb 2002 21:28:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Feb 2002 21:28:47 -0000 Received: (qmail 29394 invoked by uid 97); 27 Feb 2002 21:28:19 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 29353 invoked by uid 97); 27 Feb 2002 21:28:19 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 29306 invoked from network); 27 Feb 2002 21:28:18 -0000 Message-Id: <200202272128.g1RLSNR77033@ego.mind.net> To: "Ant Developers List" , Ant Developers List From: eoti@mind.net Subject: Re: Patternsets, Filesets, and Mapper Date: Wed, 27 Feb 2002 21:28:23 GMT X-Mailer: Endymion MailMan Standard Edition v3.0.19 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, on site we have 7 seperate xml files that each have 3 sections. One section is for the list of classes needed for JINI stubs. Another is the JINI service. Another is the common one available to client and server. It only lists the package names, so that we can infer where the .class and .java files are (rmic _Stub.java are in the classes directory, for example). >From these 3 lists(per xml file), we create a distributable service.jar, a distributable service-dl.jar, a distributable common.jar, and a distributable servicedoc.jar [names are actually different for each xml file]. We might also, depending on build options, build a developer version of each of these. The distributable jars contain only public info in the docs, no source code, and no test code [except for the open source ones]. The developer jars include the source, the classes. The developer docs include private info. In some cases, there is a manifest. The developer jars include the _Stub.java files as well. The build tool we are currently using, I wrote to fix issues we had with nmake. It javac's the entire src tree, if the files are out of date. It rmic's any remote classes that are out of date in the source tree. It javah's any native classes that are out of date in the source tree. It then loads each of the xml files mentioned above to create the application or library-specific javadocs and jars. I have convinced them here at work that we should be using Ant instead of the tool I wrote. I have been working on changing the build over for two weeks now, and it still isn't doable. Javac and RMIC seem to be fine. I sent a patch in (to this list) to give the Javah the native-checking ability (like the RMIC one does for remote-checking), and got that one working. Now, I am working on trying to get the jar/javadoc switched over. Firstly, my references are not being passed to the sub-builds (bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6700 ). Then, I could not find a way to simply copy the list of package names into the new ant buildfiles and create the jars and javadocs. I had thought it would be a matter of minutes to have it up and running, but two weeks later, still no go. I have went through the API and Manual, and emails to this list -- but haven't figured out the correct and easy way to do this. Any help would be more than appreciated. My employer has not committed to using Ant unless I can not prove that it would be better real soon. -- Malachi > --- eoti@mind.net wrote: > > Unless I am missing something, a FileSet requires a directory... So, if > > I specify... > > Okay, let's start from the beginning... What do you intend to use the list > of .java files for (ie., for which task(s))? What do you intend to use the > list of .class files for (ditto)? What do you intend to use the list of > package names for (also ditto)? And is your example fileset (containing to > specifically 'd files a real example, or just a foo-type? > > Diane -- To unsubscribe, e-mail: For additional commands, e-mail: