[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 100813] kdevelop applies CLASSPATH to cd instead of ant on a java Project
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2005-10-18 16:58:25
Message-ID: 20051018165825.15348.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=100813         
mattr kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From mattr kde org  2005-10-18 18:58 -------
SVN commit 471757 by mattr:

Fix bug 100813. put CLASSPATH in the right place


BUG: 100813


 M  +2 -2      antprojectpart.cpp  


--- branches/KDE/3.5/kdevelop/buildtools/ant/antprojectpart.cpp #471756:471757
 @ -431,7 +431,7  @
 
 void AntProjectPart::ant(const QString &target)
 {
-  QString cmd = "%0 cd %1 && ant %2 -buildfile %3 %4 %5";
+  QString cmd = "cd %0 && %1 ant %2 -buildfile %3 %4 %5";
 
   QString verb = "";
   switch (m_antOptions.m_verbosity)
 @ -457,7 +457,7  @
   if (!m_classPath.count() == 0)
     cp = "CLASSPATH="+m_classPath.join(":");
   
-  makeFrontend()->queueCommand(m_projectDirectory, \
cmd.arg(cp).arg(m_projectDirectory).arg(target).arg(m_antOptions.m_buildXML).arg(verb).arg(options));
 +  makeFrontend()->queueCommand(m_projectDirectory, \
cmd.arg(m_projectDirectory).arg(cp).arg(target).arg(m_antOptions.m_buildXML).arg(verb).arg(options));
  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic