[Yanel-dev] resource-type.xml and package
simon litwan
simon.litwan at wyona.com
Mon Feb 25 22:16:17 CET 2008
>>> + <!-- TODO: Figure out the directory where the resource class is
>>> located in -->
>>> +<!--
>>> + <copy file="${resource.home.dir}/resource.xml"
>>> todir="${resource.classes.dir}/TODO"/>
>>> +-->
>>> <mkdir dir="${resource.lib.dir}"/>
>>>
>>> basically one needs to "analyze" the class name.
>>>
>>> Any idea how this could be done with ant?
>>
>> ant-contrib is your friend. something like this:
>> <propertyregex property="new.resource.java.class.fs.path"
>> input="${new.resource.java.class.package}"
>> regexp="[.]"
>> replace="/"
>> global="true"
>> casesensitive="false" />
>
>
> cool :-) Do you want to provide a patch ;-)
how do i actually get the class name?
simon
>
> Thanks
>
> Michi
>
>>
>> simon
>>
>>>
>>> Thanks
>>>
>>> Michi
>>>
>>>>
>>>>> is there some documentation?
>>>>
>>>>
>>>>
>>>>
>>>> http://yanel.wyona.org/en/documentation/resources/using-a-resource-type.html
>>>>
>>>>
>>>> is this clarifying?
>>>>
>>>> Cheers
>>>>
>>>> Michi
>>>>
>>>>>
>>>>> <resource-type package="org.wyona.yanel.impl.resources.redirect"
>>>>> src="/SOME_ABSOLUTE_PATH/contributions/resources/redirect/"
>>>>> compile="true"/>
>>>>>
>>>>> cheers
>>>>> simon
>>>>> _______________________________________________
>>>>> Yanel-development mailing list
>>>>> Yanel-development at wyona.com
>>>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Yanel-development mailing list
>> Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
>
More information about the Yanel-development
mailing list