6 comments
Comment actions Permalink

Release looks nice so far - however I'm noticing my additional maven options settings are no longer being passed into maven, so builds are failing as profiles are not being enabled.  Known issue?

0
Comment actions Permalink

No, it's not a known problem. Could you please describe it in more details? Do you mean "Additional Maven command line parameters" field?

0
Comment actions Permalink

After investigating more it looks like the upgrade of 4.5 brought to light some brokenness in our builds which can now be reproduced outside of Team City.  I suspect the version of maven in TC4.5 has been updated causing some changes in behaviour (I've not checked what maven version is now bundled thou).

0
Comment actions Permalink

When attempting to download using the new Download All (.zip) option, I am having more Cache issues using Internet Explorer/HTTPS/Tomcat

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Test: test
Set-Cookie: RememberMe=-448235702^2#487448105303957472; Expires=Sat, 09-May-2009 00:12:13 GMT; Path=/
Cache-Control: no-store
Content-disposition: attachment; filename=xxxxxxxxxxxxxx_Release_1.0.1.0_artifacts.zip
Content-Type: application/zip
Transfer-Encoding: chunked
Date: Sat, 25 Apr 2009 00:12:13 GMT


I am still using the cache filter I setup to attempt to resolve this problem, while it still works for normal downloads, it does not work for the Download All method.

http://www.jetbrains.net/devnet/thread/279799?tstart=0


I've tried disabling the following page https redirect in Tomcat to see if that was the sole cause of the caching issue but it isn't.

   <security-constraint>
  <web-resource-collection>
   <web-resource-name>Automatic SSL Forwarding</web-resource-name>
   <url-pattern>/*</url-pattern>
  </web-resource-collection>
  <user-data-constraint>
   <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  </user-data-constraint>
</security-constraint>

0
Comment actions Permalink

The current filter I'm using which is modified since the last thread I was discussing this.

public class KillCacheFilter implements Filter
{
@Override
public void doFilter(ServletRequest arg0, ServletResponse arg1,
   FilterChain arg2) throws IOException, ServletException
{
 
  HttpServletResponse httpResp = (HttpServletResponse)arg1;
  HttpServletRequest httpreq = (HttpServletRequest)arg0;
  long today = new Date().getTime();
  httpResp.setHeader("Cache-Control", "private,must-revalidate"); 
  httpResp.setHeader("Pragma", "private");
 
  if(httpreq.getRequestURI().equals("/downloadArtifacts.html"))
  {
   System.out.println(httpreq.getRequestURI() + " - " + ((httpResp.isCommitted()) ? "is commited" : "is not commited"));
   httpResp.setHeader("Test", "test");
  }
 
   
  arg2.doFilter(arg0, arg1);
 
 
}
@Override
public void destroy()

}
@Override
public void init(FilterConfig arg0) throws ServletException
{
}
}

0
Comment actions Permalink

Turns out the bundled version of Apache Maven (2.1.0) in Team City 4.5 has a regression when using profiles: http://jira.codehaus.org/browse/MNG-3732

0

Please sign in to leave a comment.