You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2006/11/14 22:59:28 UTC

[dbutils] Preparing the 1.1 release

While starting to prepare the 1.1 release I noticed that the build.xml
lacks some of the stuff (and the javadoc xml that is there isn't too
hot).

The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
any reason to work on the build.xml, or can the JDK 1.4 release be
used (given that the 1.3 builds happily)?

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Nicolas DE LOOF <ni...@capgemini.com>.
For compiling targeting java 1.3 runtime

- with maven1 :

[project.properties]
maven.compile.compilerargs = -bootclasspath "${java13.home}/lib/rt.jar"
maven.compile.source = 1.3
maven.compile.target = 1.3

=> You have to set java13.home in your build.properties to your JRE 1.3 
: java13.home = C:/Program Files/Java/jre...

- with maven2 :

<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
                <source>1.3</source>
                <target>1.3</target>
                <compilerArguments>
                  <bootclasspath>
                      
${settings.localRepository}/com/sun/rt/1.3.1_08/rt-1.3.1_08.jar
                  </bootclasspath>
                </compilerArguments>
            </configuration>
            <dependencies>
               <dependency>
                  <groupId>com.sun</groupId>
                  <artifactId>rt</artifactId>
                  <version>1.3.1_08</version>
               </dependency>
            </dependencies>
</plugin>     

=> You have to "install" the rt.jar of Java 1.3 JRE in your local repo 
under com.sun:rt:1.3.1_08
Maven2 will give you the command to execute if artifact is not found.

Hope this will help !

Nico.

Henri Yandell a écrit :
> Sorry for not reading this before the other reply Nico.
>
> I'd definitely be interested in how that works, though would be good
> to allow the 1.3 certify bit so I can get these releases out :)
>
> Hen
>
> On 11/14/06, Nicolas DE LOOF <ni...@capgemini.com> wrote:
>>
>> Sorry, I didn't read the beginning of this thread.
>>
>> Do you want to create an Ant build only to ensure compilation for Java
>> 1.3 runtime ?
>> I'm doing the same with maven by setting the compiler plugin to use JRE
>> 1.3 rt.jar as bootclasspath. I've made some tests to ensure this
>> produces java 1.3 compliant code and doesn't link classes to methods
>> introduced in Java 1.4/Java5.
>>
>> Nico.
>>
>> Dennis Lundberg a écrit :
>> > Henri Yandell wrote:
>> >> Ideally I'd want to use Ant to build the dist under 1.3 and then use
>> >> Maven to generate the site under 1.5. I'd use 1.2, but I'm not setup
>> >> for that at the moment.
>> >>
>> >> In this case, I want to use Maven to do everything under 1.4 and 
>> point
>> >> to the fact that Ant works under 1.3 to build a jar/test as
>> >> justification that it's okay to do it under 1.4. My personal
>> >> justifcation for the Ant files is that Maven-1 doesn't work under
>> >> 1.2/1.3, so I'm a bit low personal itch-wise for implementing lots of
>> >> stuff in the Ant files.
>> >
>> > +1
>> >
>>
>> This message contains information that may be privileged or 
>> confidential and is the property of the Capgemini Group. It is 
>> intended only for the person to whom it is addressed. If you are not 
>> the intended recipient,  you are not authorized to read, print, 
>> retain, copy, disseminate,  distribute, or use this message or any 
>> part thereof. If you receive this  message in error, please notify 
>> the sender immediately and delete all  copies of this message.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Henri Yandell <fl...@gmail.com>.
Sorry for not reading this before the other reply Nico.

I'd definitely be interested in how that works, though would be good
to allow the 1.3 certify bit so I can get these releases out :)

Hen

On 11/14/06, Nicolas DE LOOF <ni...@capgemini.com> wrote:
>
> Sorry, I didn't read the beginning of this thread.
>
> Do you want to create an Ant build only to ensure compilation for Java
> 1.3 runtime ?
> I'm doing the same with maven by setting the compiler plugin to use JRE
> 1.3 rt.jar as bootclasspath. I've made some tests to ensure this
> produces java 1.3 compliant code and doesn't link classes to methods
> introduced in Java 1.4/Java5.
>
> Nico.
>
> Dennis Lundberg a écrit :
> > Henri Yandell wrote:
> >> Ideally I'd want to use Ant to build the dist under 1.3 and then use
> >> Maven to generate the site under 1.5. I'd use 1.2, but I'm not setup
> >> for that at the moment.
> >>
> >> In this case, I want to use Maven to do everything under 1.4 and point
> >> to the fact that Ant works under 1.3 to build a jar/test as
> >> justification that it's okay to do it under 1.4. My personal
> >> justifcation for the Ant files is that Maven-1 doesn't work under
> >> 1.2/1.3, so I'm a bit low personal itch-wise for implementing lots of
> >> stuff in the Ant files.
> >
> > +1
> >
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Nicolas DE LOOF <ni...@capgemini.com>.
Sorry, I didn't read the beginning of this thread.

Do you want to create an Ant build only to ensure compilation for Java 
1.3 runtime ?
I'm doing the same with maven by setting the compiler plugin to use JRE 
1.3 rt.jar as bootclasspath. I've made some tests to ensure this 
produces java 1.3 compliant code and doesn't link classes to methods 
introduced in Java 1.4/Java5.

Nico.

Dennis Lundberg a écrit :
> Henri Yandell wrote:
>> Ideally I'd want to use Ant to build the dist under 1.3 and then use
>> Maven to generate the site under 1.5. I'd use 1.2, but I'm not setup
>> for that at the moment.
>>
>> In this case, I want to use Maven to do everything under 1.4 and point
>> to the fact that Ant works under 1.3 to build a jar/test as
>> justification that it's okay to do it under 1.4. My personal
>> justifcation for the Ant files is that Maven-1 doesn't work under
>> 1.2/1.3, so I'm a bit low personal itch-wise for implementing lots of
>> stuff in the Ant files.
>
> +1
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Dennis Lundberg <de...@apache.org>.
Henri Yandell wrote:
> Ideally I'd want to use Ant to build the dist under 1.3 and then use
> Maven to generate the site under 1.5. I'd use 1.2, but I'm not setup
> for that at the moment.
> 
> In this case, I want to use Maven to do everything under 1.4 and point
> to the fact that Ant works under 1.3 to build a jar/test as
> justification that it's okay to do it under 1.4. My personal
> justifcation for the Ant files is that Maven-1 doesn't work under
> 1.2/1.3, so I'm a bit low personal itch-wise for implementing lots of
> stuff in the Ant files.

+1

-- 
Dennis Lundberg

> 
> If the above is okay, I'll probably rm the javadoc parts of the build
> files as unnecessary.
> 
> Hen
> 
> On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
>> Henri Yandell wrote:
>> > On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
>> >> Henri Yandell wrote:
>> >> > While starting to prepare the 1.1 release I noticed that the 
>> build.xml
>> >> > lacks some of the stuff (and the javadoc xml that is there isn't too
>> >> > hot).
>> >> >
>> >> > The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
>> >> > JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
>> >> > any reason to work on the build.xml, or can the JDK 1.4 release be
>> >> > used (given that the 1.3 builds happily)?
>> >> >
>> >> > Hen
>> >>
>> >> Did you try to rebuild the build.xml using Maven?
>> >>
>> >> The build.xml file in SVN states that it was generated by Maven and 
>> then
>> >> hand edited. If the changes are limited we might be able to merge 
>> those
>> >> into a freshly Maven-generated build.xml.
>> >
>> > Good point, but doing that doesn't help. No zip/tar.gz style bits get
>> > created.
>> >
>> > Hen
>>
>> Ah, now I see what you meant. You want to use Maven to build the release
>> distro, but keep a build.xml around for people who want to build the jar
>> themselves using Ant.
>>
>> Need ... sleep ... now ...
>>
>> -- 
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Henri Yandell <fl...@gmail.com>.
Ideally I'd want to use Ant to build the dist under 1.3 and then use
Maven to generate the site under 1.5. I'd use 1.2, but I'm not setup
for that at the moment.

In this case, I want to use Maven to do everything under 1.4 and point
to the fact that Ant works under 1.3 to build a jar/test as
justification that it's okay to do it under 1.4. My personal
justifcation for the Ant files is that Maven-1 doesn't work under
1.2/1.3, so I'm a bit low personal itch-wise for implementing lots of
stuff in the Ant files.

If the above is okay, I'll probably rm the javadoc parts of the build
files as unnecessary.

Hen

On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
> Henri Yandell wrote:
> > On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
> >> Henri Yandell wrote:
> >> > While starting to prepare the 1.1 release I noticed that the build.xml
> >> > lacks some of the stuff (and the javadoc xml that is there isn't too
> >> > hot).
> >> >
> >> > The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
> >> > JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
> >> > any reason to work on the build.xml, or can the JDK 1.4 release be
> >> > used (given that the 1.3 builds happily)?
> >> >
> >> > Hen
> >>
> >> Did you try to rebuild the build.xml using Maven?
> >>
> >> The build.xml file in SVN states that it was generated by Maven and then
> >> hand edited. If the changes are limited we might be able to merge those
> >> into a freshly Maven-generated build.xml.
> >
> > Good point, but doing that doesn't help. No zip/tar.gz style bits get
> > created.
> >
> > Hen
>
> Ah, now I see what you meant. You want to use Maven to build the release
> distro, but keep a build.xml around for people who want to build the jar
> themselves using Ant.
>
> Need ... sleep ... now ...
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Dennis Lundberg <de...@apache.org>.
Henri Yandell wrote:
> On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
>> Henri Yandell wrote:
>> > While starting to prepare the 1.1 release I noticed that the build.xml
>> > lacks some of the stuff (and the javadoc xml that is there isn't too
>> > hot).
>> >
>> > The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
>> > JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
>> > any reason to work on the build.xml, or can the JDK 1.4 release be
>> > used (given that the 1.3 builds happily)?
>> >
>> > Hen
>>
>> Did you try to rebuild the build.xml using Maven?
>>
>> The build.xml file in SVN states that it was generated by Maven and then
>> hand edited. If the changes are limited we might be able to merge those
>> into a freshly Maven-generated build.xml.
> 
> Good point, but doing that doesn't help. No zip/tar.gz style bits get 
> created.
> 
> Hen

Ah, now I see what you meant. You want to use Maven to build the release 
distro, but keep a build.xml around for people who want to build the jar 
themselves using Ant.

Need ... sleep ... now ...

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Henri Yandell <fl...@gmail.com>.
On 11/14/06, Dennis Lundberg <de...@apache.org> wrote:
> Henri Yandell wrote:
> > While starting to prepare the 1.1 release I noticed that the build.xml
> > lacks some of the stuff (and the javadoc xml that is there isn't too
> > hot).
> >
> > The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
> > JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
> > any reason to work on the build.xml, or can the JDK 1.4 release be
> > used (given that the 1.3 builds happily)?
> >
> > Hen
>
> Did you try to rebuild the build.xml using Maven?
>
> The build.xml file in SVN states that it was generated by Maven and then
> hand edited. If the changes are limited we might be able to merge those
> into a freshly Maven-generated build.xml.

Good point, but doing that doesn't help. No zip/tar.gz style bits get created.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [dbutils] Preparing the 1.1 release

Posted by Dennis Lundberg <de...@apache.org>.
Henri Yandell wrote:
> While starting to prepare the 1.1 release I noticed that the build.xml
> lacks some of the stuff (and the javadoc xml that is there isn't too
> hot).
> 
> The previous dbutils 1.0 release was done via Maven in JDK 1.4 (with
> JDK 1.2 as a target). The Ant build works fine under 1.3 - is there
> any reason to work on the build.xml, or can the JDK 1.4 release be
> used (given that the 1.3 builds happily)?
> 
> Hen

Did you try to rebuild the build.xml using Maven?

The build.xml file in SVN states that it was generated by Maven and then 
hand edited. If the changes are limited we might be able to merge those 
into a freshly Maven-generated build.xml.

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org