ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikram Goyal" <Vikram.Go...@eyecon.com.au>
Subject Re: Different jar file size after copy
Date Mon, 06 Jan 2003 00:41:21 GMT
Ooops, Sorry guys for failing to give more details and for the late reply.
The holidays took over.

The OS is Windows XP Professional, both for machine running the build on and
the server. The relevant deploy target is:

  <target name="deploy" depends="compileserver, langgenerator"
   description="Deployes the server application on the server.">

   <!-- Create the deployment home directory -->
   <mkdir dir="${deploy.home}"/>

 <!-- Copy the contents of the server build defaultroot directory -->
 <copy todir="${deploy.home}">
  <fileset dir="${build.dir}/server/defaultroot"/>
 </copy>

  </target>

Hope this helps in getting rid of this problem as Santa did not take it
away. :)

Rgs
Vikram




----- Original Message -----
From: "Ken Gentle" <j.kenneth.gentle@acm.org>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Tuesday, December 24, 2002 2:00 PM
Subject: Re: Different jar file size after copy


> You need to give us a little more information, like the XML for the deploy
> target.  My first guess is that the file transfer is not happening as
> binary for the jar file, and DOS line endings are getting converted to
UNIX
> (or vice/versa).
>
> Ken
>
> At 09:16 PM 12/23/2002, you wrote:
> >Hi all,
> >
> >I am getting a very weird error after ant does a copy of jars in my lib
> >folder and deploys them on the server with my deploy target.
> >
> >The size of the jar differs on the server after the copy. The other files
> >remain the same. This would not be a problem as such but the trouble is
> >that my server does not seem to recognize these files. It is not able to
> >read any of the classes in these jars after a copy. Only when I replace
> >them manually, does the server (Weblogic 7.1) seem to understand the
jars.
> >
> >I did check the archive for anything similar but could not get any
> >conclusive answers.
> >
> >Does anyone know whats going on?
> >
> >Regards
> >Vikram
>
> =============================================================
> J. Kenneth Gentle (Ken)    | Phone: (610) 255-0361
> Gentle Software, LLC       | Email: j.kenneth.gentle@acm.org
> =============================================================
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message