s/now now/now not/

-----Original Message----- From: Bill Barker
Sent: Tuesday, April 17, 2012 9:40 PM
To: Gump code and data
Subject: Re: Resolving reference to commons-io-*[0-9T].jar file in a property


I forgot some of my python coding basics, but can recheckin the fix to
trunk, even if I haven't fully tested it (setting up packaged projects is a
PIB). That is probably the best move, since it is now now failing for
non-globbed projects in my test. So can see if it will run on trunk before
moving to live.


-----Original Message----- From: Konstantin Kolinko
Sent: Tuesday, April 17, 2012 4:39 PM
To: Gump code and data
Subject: Resolving reference to commons-io-*[0-9T].jar file in a property

Hi!

It is essentially the same issue that I wrote about a year ago, [1]

Now it is occurring in "jakarta-tomcat-catalina" project [2]. It
started to nagging dev@tomcat on April 12th, but I do not see what
could cause it. I guess that earlier it did not run due to some
dependency. Another change is that commons-io 2.3 was released about
that time.


The problem: When Tomcat 5.5 builds it needs to copy commons-io.jar
into its "Manager" webapp. There is the following code in its Ant
file:

/tomcat/tc5.5.x/trunk/container/webapps/manager/build.xml
[[[
 <target name="copy-io.jar">
   <copy todir="${webapps.build}/${webapp.name}/WEB-INF/lib"
file="${commons-io.jar}"/>
 </target>
]]]

In Gump this is configured in project/jakarta-tomcat-catalina.xml as
<ant ...
     <depend property="commons-io.jar" project="commons-io" />
</ant>

It results in
[[[
BUILD FAILED
/srv/gump/public/workspace/jakarta-tomcat-catalina/build.xml:74: The
following error occurred while executing this line:
/srv/gump/public/workspace/jakarta-tomcat-catalina/webapps/build.xml:58:
The following error occurred while executing this line:
/srv/gump/public/workspace/jakarta-tomcat-catalina/webapps/manager/build.xml:56:
Warning: Could not find file
/srv/gump/public/workspace/apache-commons/io/target/commons-io-*[0-9T].jar
to copy.
]]]

The actual name of the file is "commons-io-2.4-SNAPSHOT.jar" [3]

Should I change the dependency to explicitly name the file? Like this:

     <property name="commons-io.jar" project="commons-io"
           path="io/target/commons-io-2.4-SNAPSHOT.jar" />

or there is a chance to make those patterns to work?


[1] "Dependency on checkstyle.jar in tomcat-trunk-validate returns
glob instead of actual name", 2011-04
http://markmail.org/message/to3dvdwwciqzgrgh

[2] jakarta-tomcat-catalina project summary
http://vmgump.apache.org/gump/public/jakarta-tomcat-catalina/jakarta-tomcat-catalina/index.html

[3] apache-commons/commons-io Build output
http://vmgump.apache.org/gump/public/apache-commons/commons-io/gump_work/build_apache-commons_commons-io.html

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@gump.apache.org
For additional commands, e-mail: general-h...@gump.apache.org

Reply via email to