dev@glassfish.java.net

Re: com.sun.org.apache.xml.internal.resolver.Catalog which workspace/who owns it

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Tue, 04 Nov 2008 10:10:10 -0800

This should be in jaxp workspace. Adding Santiago

Lance Andersen wrote:
> Hi Alan,
>
> Thanks for the script. What I am looking for though is the actual
> source code repository not the compiled class on java.net. Sorry that
> i was not clearer.
>
> Regards,
> Lance
> On Nov 4, 2008, at 8:56 AM, Alan Frechette wrote:
>
>> Lance attached is a script which searches for a file in a directory
>> of jars. To invoke:
>>
>> findinjar "Catalog" $AS_HOME/lib
>>
>> This will search for "Catalog" in all jars in the given directory.
>> Its a useful script that we wrote. It comes in handy.
>>
>> alan
>>
>> On 11/04/08 08:46, Lance Andersen wrote:
>>> thanks, I looked in fisheye for jaxb but did not see it.
>>> On Nov 4, 2008, at 8:04 AM, Alan Frechette wrote:
>>>> I believe its in jaxb-xjc.jar
>>>>
>>>>
>>>> alan
>>>>
>>>>
>>>> On 11/04/08 07:06, Lance Andersen wrote:
>>>>> Hi All,
>>>>> Could someone please let me know where
>>>>> com.sun.org.apache.xml.internal.resolver.Catalog resides? I am
>>>>> not sure which workspace/group owns this and we have a bug report
>>>>> against this.
>>>>> Regards
>>>>> Lance
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>> #!/bin/ksh +x
>> if [ $# -ne 2 ]; then
>> echo "Usage: findinjar <search_string> <dir>"
>> exit 1
>> else
>> dir=$2
>> if [ ! -d $dir ]; then
>> echo "Error: $dir is not a directory."
>> echo "Usage: findinjar <search_string> <dir>."
>> exit 1
>> else
>> echo "BEGIN sweep changes on directory [$dir]."
>> echo "`date`"
>> echo
>> fi
>> search_string=$1
>> fi
>> echo "Search jars in directory $dir for $search_string"
>> filelist=/tmp/findinjars
>> rm -rf $filelist
>> find $dir -name "*.jar" > $filelist
>> echo
>> for item in `cat $filelist`
>> do
>>
>> file=`basename $item`
>> dir=`dirname $item`
>> cd $dir
>> echo "file $file"
>> jar -tvf $file | grep $search_string
>> done
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>