Indeed, the latest release version of src zip doesn't contain
build.xml, but any new releases will. You'll have to get it from
source control for now if you need it, or use the maven 2 build.
Stephen

On 13 January 2011 03:55, Sai Zhang <racezh...@gmail.com> wrote:
> Thanks Stephen, but seems that the build.xml file in the followinig link
> (source repository) has
> not been included in the released jar (from the download tab).
>
> On Wed, Jan 12, 2011 at 2:31 PM, Stephen Colebourne <scolebou...@joda.org>
> wrote:
>>
>> build.xml present and correct:
>> http://joda-time.svn.sourceforge.net/viewvc/joda-time/trunk/JodaTime/
>>
>> Stephen
>>
>> On 12 January 2011 19:28, Sai Zhang <racezh...@gmail.com> wrote:
>> > HI Stephen:
>> > I was trying to use ant file to compile, however, i did not find a ant
>> > build.xml file under
>> > the source folder. could you please kindly point me to the location of
>> > the
>> > ant file?
>> > does it have a different name than build.xml? thanks very much.
>> > -Sai
>> >
>> > On Wed, Jan 12, 2011 at 6:38 PM, Stephen Colebourne
>> > <scolebou...@joda.org>
>> > wrote:
>> >>
>> >> I can only assume you didn't use the ant file to compile.
>> >>
>> >> The ZoneInfoMap is the compiled time-zone data, which is included in
>> >> the download. The standard ant build compiles that. Just type 'ant
>> >> jar' at the command line.
>> >>
>> >> Stephen
>> >>
>> >>
>> >> On 12 January 2011 07:55, Sai Zhang <racezh...@gmail.com> wrote:
>> >> > Hi there.
>> >> > I am trying to compile Joda-time from source code. However, I found
>> >> > running
>> >> > tests
>> >> > may be a bit tricky.
>> >> > I download the latest version of Joda-time, and import all sources to
>> >> > eclipse (since there
>> >> > is no dependence to other jars). However, when executing
>> >> > TestAll.java,
>> >> > an
>> >> > unexpected
>> >> > exception was thrown as follows (at the end of this email).
>> >> > I look around the whole source folder downloaded, and did not find
>> >> > any
>> >> > clue
>> >> > on "org/joda/time/tz/data/ZoneInfoMap" resource. Could anyone kindly
>> >> > give me
>> >> > some guidance
>> >> > on how to run Joda time's tests without any exceptions? I guess there
>> >> > might
>> >> > be some tricks in
>> >> > configuring the environment.
>> >> > thanks
>> >> > -Sai
>> >> >
>> >> >
>> >> > Exception in thread "main" java.io.IOException: Resource not found:
>> >> > "org/joda/time/tz/data/ZoneInfoMap" ClassLoader:
>> >> > sun.misc.Launcher$AppClassLoader@19821f
>> >> > at
>> >> >
>> >> > org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:209)
>> >> > at
>> >> > org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:123)
>> >> > at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:82)
>> >> > at
>> >> > org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:439)
>> >> > at org.joda.time.DateTimeZone.setProvider0(DateTimeZone.java:393)
>> >> > at org.joda.time.DateTimeZone.<clinit>(DateTimeZone.java:114)
>> >> > at
>> >> >
>> >> >
>> >> > org.joda.time.TestBaseSingleFieldPeriod.<clinit>(TestBaseSingleFieldPeriod.java:31)
>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> >> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> >> > at java.lang.reflect.Method.invoke(Unknown Source)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:108)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>> >> > at
>> >> >
>> >> >
>> >> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> >> > java.lang.ExceptionInInitializerError
>> >> >
>> >> >
>> >> > ------------------------------------------------------------------------------
>> >> > Protect Your Site and Customers from Malware Attacks
>> >> > Learn about various malware tactics and how to avoid them. Understand
>> >> > malware threats, the impact they can have on your business, and how
>> >> > you
>> >> > can protect your company and customers by using code signing.
>> >> > http://p.sf.net/sfu/oracle-sfdevnl
>> >> > _______________________________________________
>> >> > Joda-interest mailing list
>> >> > Joda-interest@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/joda-interest
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Protect Your Site and Customers from Malware Attacks
>> >> Learn about various malware tactics and how to avoid them. Understand
>> >> malware threats, the impact they can have on your business, and how you
>> >> can protect your company and customers by using code signing.
>> >> http://p.sf.net/sfu/oracle-sfdevnl
>> >> _______________________________________________
>> >> Joda-interest mailing list
>> >> Joda-interest@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/joda-interest
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Protect Your Site and Customers from Malware Attacks
>> > Learn about various malware tactics and how to avoid them. Understand
>> > malware threats, the impact they can have on your business, and how you
>> > can protect your company and customers by using code signing.
>> > http://p.sf.net/sfu/oracle-sfdevnl
>> > _______________________________________________
>> > Joda-interest mailing list
>> > Joda-interest@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/joda-interest
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Joda-interest mailing list
>> Joda-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to