Hi again,

ok, I got something working. Tests and pylint messages integrate nicely.
The way the build script finds the jar is hopefully stable enough to
not break too often. And for the antlr2 and st dependency I just
download (if not already done) and install them in the workspace as
part of the build.

Can someone with the appropriate admin powers please setup a Hudson
account for me, so I can configure my job?

How should I setup the P4 client for the Hudson workspace? Is there a
naming convention for the client name? And which user to use? My own
account, which I wouldn't like, because then my password is in
cleartext on the server. Or is there a dedicated (readonly) hudson
user?

And finally: the build script need pylint. If not yet present on the
host, it has to be installed. "apt-get install pylint" or the
equivalent of your distribution. I assume that python is already
installed. Would also be nice if multiple python versions (2.4
upwards) could be installed, so .egg files for each version can be
build - the build script will auto-detect all versions present in
/usr/bin/.

-Ben

On Sat, Feb 28, 2009 at 2:07 PM, Benjamin Niemann <[email protected]> wrote:
> On Fri, Feb 27, 2009 at 11:57 PM, Jim Idle <[email protected]> wrote:
>> Benjamin Niemann wrote:
>>>
>>> Hi,
>>>
>>> I'm playing a bit with Hudson, so Python tests can run on it as well.
>>> I'm running it locally and got some basic stuff running.
>>> But in order to run the Python testsuite, I need the runtimes for
>>> antlr2 and stringtemplate as well. Should I just assume that those are
>>> installed globally on the build system? Or is there some way to tell
>>> Hudson that I have additional dependencies? As a temporary solution I
>>> installed them in .hudson/jobs/antlr-python/lib and add
>>> $WORKSPACE/../lib to the PYTHONPATH in the build step.
>>> Similar thing with the antlr.jar, which is needed for the functional
>>> tests. Is there a way to reference the jar which was built by
>>> "ANTLR_Tool" from a "ANTLR Python Runtime" job?
>>>
>>
>> Hudson does have some Python support, but I don't know if it can be told
>> that the job requires Java jars and a JAva runtime and so on. To build the C
>> runtime, I basically just used a custom project that executes a series of
>> command lines such as ./configure ...
>>
>> Did you get any further with this?
>
> Not this week. Busy at work. But will check it out this weekend.
> The documentation on the Hudson site is pretty sparse, but the mailing
> list seems quite healthy...
>
>>
>> Jim
>>
>>
>>
>
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to