ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34049] - javac lost a char when compile
Date Fri, 18 Mar 2005 10:57:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34049





------- Additional Comments From zenghu@huawei.com  2005-03-18 11:57 -------
(In reply to comment #1)
> This is a really wierd error. 
> 1. can you paste the bit of the build file where you compile?
> 2. can you paste a directory listing of the dir /ams/security
> 3. Is this a clearcase file system? It has hints of it (like the word 'view')

1
build.xml:
<?xml version='1.0' encoding='GB2312' ?>

<project name="AMS" default="version" basedir=".">

	<property file="build.properties"/>
	
	<target name="init">
	    <!-- Create the time stamp -->
    	<tstamp/>
  	</target>

	<!--target name="reversion" description="ȫ汾" 
depends="compile,unjar,version">
	</target-->
	<target name="reversion" description="ȫ汾" 
depends="compile,unjar,version">
	</target>
	<target name="version" description="汾" depends="compile,jar">
		<copy todir="${versiondir}/locale" overwrite="true" 
preservelastmodified="true">
		    <fileset dir="${basedir}/../src/locale"/>
  		</copy>
  		<copy todir="${versiondir}/help" overwrite="true" 
preservelastmodified="true" failonerror="false">
		    <fileset dir="${basedir}/../src/help"/>
  		</copy>
  		<copy file="${basedir}/startupclient.bat" 
todir="${versiondir}" preservelastmodified="true"/>
  		<copy file="${basedir}/readme.txt" todir="${versiondir}" 
preservelastmodified="true"/>
  		<copy file="${runlib.dir}/imap.jar" 
todir="${versiondir}/classes" preservelastmodified="true"/>
	</target>
	<target name="demo" description="DEMO汾" 
depends="compile,compileDemoSrc,unjar,jar">
		<copy file="${basedir}/asnclasspath_zh_CN.properties" 
todir="${demoversiondir}/profile" preservelastmodified="true"/>
		<copy todir="${demoversiondir}/locale" overwrite="true" 
preservelastmodified="true">
		    <fileset dir="${basedir}/../src/locale"/>
  		</copy>
  		<copy todir="${demoversiondir}/help" overwrite="true" 
preservelastmodified="true" failonerror="false">
		    <fileset dir="${basedir}/../src/help"/>
  		</copy>
  		<copy file="${basedir}/startupclient.bat" 
todir="${demoversiondir}" preservelastmodified="true"/>
  		<copy file="${runlib.dir}/imap.jar" 
todir="${demoversiondir}/classes" preservelastmodified="true"/>
  		<copy file="${versiondir}/classes/${jar}" 
todir="${demoversiondir}/classes" preservelastmodified="true"/>
  		<copy todir="${demoversiondir}/classes" overwrite="true" 
preservelastmodified="true" failonerror="false">
		    <fileset dir="${asn.build.dir}"/>
  		</copy>
  		<copy todir="${demoversiondir}/asn1" overwrite="true" 
preservelastmodified="true" failonerror="false">
		    <fileset dir="${asn.src.dir}"/>
  		</copy>
  		<copy todir="${demoversiondir}/data" overwrite="true" 
preservelastmodified="true" failonerror="false">
		    <fileset dir="${demo.src.dir}/data"/>
  		</copy>
	</target>
	
	<target name="unjar" description="">
		<unjar src="${runlib.dir}/ASN1RE.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/borlandxml.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/datechooser.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/extend.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/filtertree.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/JACE.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/jdom.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/jhall.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/jtgoall.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/jviewsall.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/logging.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/xerces.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/xercesImpl.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/xercespatch.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/xml.jar" dest="${runlib}"/>
		<unjar src="${runlib.dir}/xmlParserAPIs.jar" 
dest="${runlib}"/>
	</target>
	<target name="jar" description="">
		<mkdir dir="${versiondir}/classes"/>
		<copy file="${basedir}/MANIFEST.MF" 
todir="${projectBuildHome}/META-INF"/>
		<jar 	destfile="${versiondir}/classes/${jar}" 
manifest="${manifest.file}">
			<fileset dir="${src.build.dir}"/>
			<fileset dir="${asn.build.dir}"/>
			<fileset dir="${runlib}">
			    <exclude name="**/*.jar"/>
			</fileset>
			<fileset 
dir="${demo.src.dir}/com/huawei/te/teUtility/unittest/graph">
			    <include name="**/*.gif"/>
			</fileset>
		</jar>
	</target>
	
	<!--T2800 -->
	<target name="prepareAsn" description="Asn׼">
		<mkdir dir="${asn.build.dir}"/>
	</target>
	<target name="prepare_src" description="ҵ׼">
		<mkdir dir="${src.build.dir}"/>
	</target>

	<target name="cleardirForASN" description="ASNĿ¼">
		<delete dir="${asn.build.dir}"/>
	</target>
	<target name="cleardirForSrc" description="Ŀ¼">
		<delete dir="${src.build.dir}"/>
	</target>

	<target name="compileAsn" description="Asn" 
depends="cleardirForASN,prepareAsn">
		<javac debug="off"
		       srcdir="${asn.src.dir}"
		       destdir="${asn.build.dir}"
		       classpath="${compilelib}"
		       fork="yes"
		       memoryInitialSize="200m"
		       memoryMaximumSize="200m">
		</javac>
	</target>

	<target name="compileSrc" description="ҵ" 
depends="cleardirForSrc,prepare_src">
		<javac debug="on"
		       srcdir="${src.dir}"
		       destdir="${src.build.dir}"
		       classpath="${compilelib}"
		       fork="no"
		       memoryInitialSize="128m"
		       memoryMaximumSize="230m"
		       deprecation="off"
		/>
	</target>
	<target name="compileDemoSrc" description="DEMO">
		<javac debug="off"
		       srcdir="${demo.src.dir}"
		       destdir="${src.build.dir}"
		       classpath="${compilelib}"
		       fork="no"
		       memoryInitialSize="128m"
		       memoryMaximumSize="230m"
		       deprecation="off"
		/>
	</target>
	<target name="compile" description="Asnҵ" 
depends="compileAsn,compileSrc">
		<!--javac debug="off"
		       srcdir="${src.dir}"
		       destdir="${src.build.dir}"
		       classpath="${compilelib}"
		       fork="yes"
		       memoryInitialSize="128m"
		       memoryMaximumSize="230m"
		       deprecation="off"
		/-->
	</target>
</project>

build.properties:

name=AMS
jar=${name}.jar

versiondir=client
demoversiondir=demo
projectHome=..
projectBuildHome=classes

runlib.dir=${projectHome}/rtlib
asn.src.dir=${projectHome}/asn1
src.dir=${projectHome}/src
demo.src.dir=${projectHome}/demo
asn.build.dir=${projectBuildHome}/asn1
src.build.dir=${projectBuildHome}/src
compilelib=${runlib.dir}/ASN1RE.jar;${runlib.dir}/borlandxml.jar;${runlib.dir}/
datechooser.jar;${runlib.dir}/extend.jar;${runlib.dir}/filtertree.jar;${runlib.
dir}/imap.jar;${runlib.dir}/JACE.jar;${runlib.dir}/jdom.jar;${runlib.dir}/jhall
.jar;${runlib.dir}/jtgoall.jar;${runlib.dir}/jviewsall.jar;${runlib.dir}/xml.ja
r;${runlib.dir}/logging.jar;${runlib.dir}/xerces.jar;${runlib.dir}/jxl.jar;${as
n.build.dir}
runlib=${projectBuildHome}/lib
manifest.file=${projectBuildHome}/META-INF/MANIFEST.MF

2
E:\z28785_view_amsclient\AMSResClient\asn1\com\huawei\ams\security>dir
  E еľ DISK1_VOL3
 к 6F35-FD20

 E:\z28785_view_amsclient\AMSResClient\asn1\com\huawei\ams\security Ŀ¼

2005-03-16  09:29    <DIR>          .
2005-03-16  09:29    <DIR>          ..
2005-03-16  09:29             3,590 AsnCreateUserReq.java
2005-03-16  09:29             3,606 AsnCreateUserRsp.java
2005-03-16  09:29             3,623 AsnGetAllUserRsp.java
2005-03-16  09:29             4,720 AsnUserInfo.java
2005-03-16  09:29             3,643 AsnUserInfoList.java
2005-03-16  09:29             3,861 AsnUserLoginReq.java
2005-03-16  09:29             3,551 AsnUserLoginRsp.java
               7 ļ         26,594 ֽ
               2 Ŀ¼    302,587,904 ֽ

3It is a clearcase file system

I compile it with JDK1.4.2_06,it is OK

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message