The Artima Developer Community
Sponsored Link

Java Buzz Forum
Your Build Script Is In Production Use Everyday---By Your Developers!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Weiqi Gao

Posts: 1808
Nickname: weiqigao
Registered: Jun, 2003

Weiqi Gao is a Java programmer.
Your Build Script Is In Production Use Everyday---By Your Developers! Posted: Jun 12, 2004 11:53 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Weiqi Gao.
Original Post: Your Build Script Is In Production Use Everyday---By Your Developers!
Feed Title: Weiqi Gao's Weblog
Feed URL: http://www.weiqigao.com/blog/rss.xml
Feed Description: Sharing My Experience...
Latest Java Buzz Posts
Latest Java Buzz Posts by Weiqi Gao
Latest Posts From Weiqi Gao's Weblog

Advertisement

Yesterday was my last day at my current client (that I started 163 days ago).

As I reflect back I couldn't help but notice something odd: each developer uses a different set of Ant targets in their daily routine. The fun begins when something goes wrong:

Berlin, I just did an ant update, and the server wouldn't start now. Do you know why?

Sorry, I never do ant update. I always do ant get_all. Ask Ninju.

Ninju, Ninju, Help!

Oh, you are in the Build directory. You should be running from the dev directory. Just do an ant from there.

But wouldn't that take, what, like two hours?

You can run ant quick_compile then. That'll skip the part that takes too long.

Thank you!

(Later) Zhicheng, Ninju told me to do an ant quick_compile from dev, but it still doesn't work!

No, ant quick_compile deletes a directory that you need. Do an ant gen to get it back.

OK. (Ran ant gen.) No, it still doesn't work. Hey Cathy, do you know anything about this?

They send out an email yesterday about the latest changes to the build scripts. There is a batch file that you need to run only once.

Could you forward me that email?

Sure.

(Reading email) Ahh, I need to go to dev/config/versioning and run version_gen.bat. That fixed it. Thanks everybody.

We wouldn't dream of inflicting such pain and confusion on the users of the software we are building. Yet we do it to ourselves. We are users too. We are users of the build scripts for the project we work on. If the build script is not right, we all lose productivity.

The build script is in production use everyday. Treat it accordingly.

Read: Your Build Script Is In Production Use Everyday---By Your Developers!

Topic: Devx on EJB 3.0 and Hibernate Previous Topic   Next Topic Topic: [Jun 2, 2004 18:59 PDT] 14 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use