Friday, April 30, 2010

Trying to get optional jar files using maven

Tried pulling down all the optional jar files so I could get a clean compile in Eclipse. Some warnings indicated some dependency upon maven 2.0.6, but my local version of maven is 2.0.4. Not sure what to do there. It seems like using Eclipse would be a good way to go, and I would expect other developers to be using Eclipse as well, but I am not having any luck getting it set up. Running build.sh does seem to run, but it does not seem to build much. Most jars are skipped "because no files were included". Not sure what this means.

Discussion Board Archive and Ant Wiki for Newbies

This seems to have a lot of good information
http://ant.apache.org/bugs.html 
 
The following page has been changed by tabuchid:
http://wiki.apache.org/ant/AntNewbies

High priority Ant bugs

http://ant.apache.org/bugs.html
Click on "Open Ant bugs by order of priority."

Potential Feature Enhancement Requests

Just brainstorming, I thought of a couple of extensions to Ant that seem interesting.

  • A subversion ant task especially for "svn export" to pull code out of a subversion repository.
  • Automated "svn checkout" and "svn commit" might be helpful as well. Could be used to update a file in a branch or tag with the name of the branch or tag for automated confirmation that what was requested matched what was built.
  • Message task - Instant message capability to Ant. When a task is complete, Ant could send an instant message to a certain person, such as the person who initiated the build. Keeping up with Instant message clients (like Yahoo or AIM) would be painful so the task could also have a property specifying the messaging protocol. Initial implementation could use XMPP through opensource Smack! framework. This would work with Google Talk. I ran a test Java class using Smack! in CS 544.  It also works to connect to a locally running OpenFire server.

Apache Blog

I did not find a discussion board for Ant directly, but I did find a weblog for Apache projects in general (of which Ant is one.

http://blogs.apache.org/

Ant blog

Chat with Terence today:

3:15 PM Terence: hello James
  do you have a minute?
3:17 PM me: Sure, how are things going
3:18 PM Terence: Well, I was just trying to build Ant successfully in Eclipse, and I tracked down all the external libraries
3:19 PM but there are still problems
  like I have a lot of classes called A.java
  a number of them
  and they are all conflicting
  Have you tried fiddling around using Eclipse of Netbeans or something yet?
3:20 PM me: Yeah, I have not yet been able to build successfully in eclipse.. look at my blog for how to build the project from the source.
 Terence: okay
 me: I used the provided build script
3:21 PM Terence: I tried that but that didn't work either. Maybe with all the libraries that I have now, I can get that to work
  And the Prof wants us to move faster
  with the Midterm and the Coase paper and my other subjects, life is kinda fast right now
3:22 PM me: I know the feeling
3:23 PM Perhaps there is something on the discussion board about getting this built under Eclipse
  I think there is a discussion board
  I have not seen it yet
3:24 PM Terence: perhaps. I guess we have to build it completely each time, even though we're only going to work on a small bug right now?
  just to make sure that it doesn't break anything else?
3:25 PM me: I'm not sure
  I think most of the folders have test scripts with common names causing the conflicts.
 Terence: because most of these errors are in the test cases, and I'm sure that I can build it if I remove them (or at least the problematic ones)
 me: I'm not sure how the build script gets around that
3:26 PM Right, probably just need to remove some source code directoris
 Terence: and Who does that? make so many classes with the same name, and then not use package identifiers to differentitate them?
3:27 PM me: It would be nice to be able to pull it into eclipse and the project to be organized enough for eclipse to make educated enough guesses to create a functioning project
3:28 PM Terence: well, I better get back to my stuff then
  thanks for the help
3:29 PM and if you locate that discussion board, do blog it
 me: I'm planning on working on that a bit more this weekend
  I will
 Terence: thanks
  have a nice day
  bye
 me: Bye

Potential bug fix ideas

Here are some bugs in the Ant project that seem interesting to me and may be small enough for me to tackle:
  • 15149 dealing with the replace task
  • 19386 filesmatch condition evaluates true when both files not found
  • 48010 sshexec task timeout param
  • 24231 command-line option to signify no more options
  • 29045 Move and copy to provide error handling like exec task
  • 44549 Delete with empty includesfile deletes all files
  • 33928 output of "java" task and left quote
  • 45310 RPM task missing space chare between option name and dir
  • 34507 runant.py doesn't handle command with spaces properly

Started looking through Ant open issues

https://issues.apache.org/bugzilla/index.cgi?logout=1

Just started. Not sure what I can help with yet.

Tuesday, April 27, 2010

Looked at Ant info and got a clean build

I looked at the list of main contributors and the mission statement (looked more like a charter to me).

I was having a hard time figuring out how to get Eclipse to generate a clean build of the code. After poking around, I found instructions for building Ant. They're real simple:

sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution> dist    (Unix)

I used
build.sh -Ddist.dir=dist dist

After this, I got what appeared to be a clean distribution in the dist directory. It seemed to build more than I checked out. Not sure why that would be.

I have not tried the Windows build yet.
build -Ddist.dir=<directory_to_contain_Ant_distribution> dist    (Windows)

Sunday, April 25, 2010

Ant developer mailing list and source code

I signed up for the Ant developer mailing list. Hopefully it does not clog my inbox. I also found the URL to access the Ant trunk branch for the core Ant project. Other projects under Ant: Ivy, IvyIDE, antunit, Dotnet antlib, and a "sandbox" for new development efforts.

Friday, April 23, 2010

Blogger

Trying to work out what blogger to use for our CS 680 Distributed Software Development class. We're planning on doing some work for the Ant Open Source project.

My First Blog

Here is my first blog!