Comments (13)
Taking a look now.
Original comment by [email protected]
on 5 Jan 2015 at 11:41
from force-deploy-with-xml-report-task.
I'm confused. I don't see any file changes.
Original comment by [email protected]
on 5 Jan 2015 at 12:03
from force-deploy-with-xml-report-task.
A solution is to use the ant-salesforce.jar that's under this projects /lib/
directory.
As documented it looks like the API has changed so if you use the latest from
(salesforce_ant_32.zip) salesforce it just silently fails.
Original comment by [email protected]
on 5 Jan 2015 at 12:18
from force-deploy-with-xml-report-task.
[deleted comment]
from force-deploy-with-xml-report-task.
[deleted comment]
from force-deploy-with-xml-report-task.
Yeah the ant-deploy-with-xml-report-task-1.4.jar code outputs the test results
by replacing and then calling a method with this signature:
public void handleResponse(MetadataConnection metadataConnection, AsyncResult response) throws ConnectionException
but the API 32 ant-salesforce.jar has changed the signature used in the call to
this (so the above method is never called):
public void handleResponse(MetadataConnection metadataConnection, SFDCMDAPIAntTask.StatusResult response) throws ConnectionException
Using an earlier version of ant-salesforce.jar is the easiest workaround.
Original comment by [email protected]
on 5 Jan 2015 at 12:45
from force-deploy-with-xml-report-task.
Original comment by [email protected]
on 5 Jan 2015 at 1:04
- Changed state: Accepted
from force-deploy-with-xml-report-task.
That older version of the ant-salesforce.jar doesn't appear to support resuming
a job by re-calling with the sf.asyncRequestId property populated. It just
gives me a "Invalid id specified for sf.asyncRequestId".
Any ideas how to work around that? I do nightly runs of all our bulk-test
cases, and I need to be able to retry if they time-out.
Original comment by [email protected]
on 8 Jan 2015 at 6:14
from force-deploy-with-xml-report-task.
The code change to work with the latest ant-salesforce.jar looks simple enough.
I'll hopefully find the time to try it over the next few days.
Original comment by [email protected]
on 8 Jan 2015 at 6:38
from force-deploy-with-xml-report-task.
@keith, could you please provide idea which code change should be applied to
recompile this jar for latest ant-salesforce.jar. Thanks in advance.
Original comment by [email protected]
on 2 Feb 2015 at 1:35
from force-deploy-with-xml-report-task.
Took a more careful look this morning and the code change is more awkward than
I thought because SFDCMDAPIAntTask.StatusResult has package visibility set.
That means that the task must be located in the same package so instead of the
task being com.claimvantage.force.ant.DeployWithXmlReportTask it will have to
be instead something like
com.salesforce.ant.ClaimVantageDeployWithXmlReportTask and so a change will be
needed to your build.xml files. (There is nothing in Java that stops you adding
classes to packages that use someone else's name but it is relatively unusual.)
I've tried it out and it works OK. Thoughts anyone?
Original comment by [email protected]
on 2 Feb 2015 at 1:41
from force-deploy-with-xml-report-task.
My build.xml is 95% handwritten anyways, so that sounds just fine to me.
Original comment by [email protected]
on 3 Feb 2015 at 3:02
from force-deploy-with-xml-report-task.
Any update on this issue? Would love to have a fix. Regressing my
ant-salesforce to the older version (in this project's lib directory) gives me
the error
"Failed to login: Unexpected element. Parser was expecting element
urn:partner.soap.sforce.com:orgAttachmentFileSizeLimit' but found
'urn:partner.soap.sforce.com:orgDefaultCurrencyIsoCode'"
Original comment by [email protected]
on 13 May 2015 at 6:47
from force-deploy-with-xml-report-task.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from force-deploy-with-xml-report-task.