Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#620 closed enhancement (worksforme)

show us build.xml of the bitten sample java recipe

Reported by: anonymous Owned by:
Priority: major Milestone:
Component: General Version: 0.6b2
Keywords: Cc:
Operating System:

Description (last modified by osimons)

Bitten Sample Java Recipe explains the recipe but what does build.xml? Could you show that file content, please, at least of an example test?

It's also absolutely not clear if I can create charts of my own tests (based on Squish), though for each svn revision my Squish tests write to one XML result file which is in my own format.

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by osimons

  • Description modified (diff)
  • Milestone 0.6.1 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

See command documentation (wiki:Documentation/commands.html#java-ant). I don't use Ant (or Java) myself, but it should be an Ant-standard build file where you can use the command to the targets you want to run.

You can report your own data (see wiki:Documentation/commands.html#report) as long as it conforms to the supported formats that then also produces graphs as if by magic (see wiki:Documentation/reports.html). You may need to employ some transformation logic on your own file(s) to make a new conforming report file.

Anyway, the ticket system is for feature requests or bugs. For general support questions please use the Mailing List

comment:2 Changed 14 years ago by anonymous

Well, I've already seen your command reference documentation before I created the ticket. But with just a list of commands and parameters I do not understand how to write such build.xml file which should call the batch files of my test engine. Maybe it's possible to add an example of a simple build.xml (and actually also test-results/TEST-*.xml) to the wiki page (as wished by this ticket). Examples say much more than a dictionary. Thanks for your help.

comment:3 Changed 14 years ago by osimons

Try this:

http://ant.apache.org/manual/using.html

However, to me it feel as though you don't actually use Ant... Perhaps best just to call <sh:exec /> command directly with the args you need to run your custom code? Ask on the Mailing List what people do for Java - and perhaps you can gather some interesting feedback for improving the documentation?

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.