You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Brandon Beck (JIRA)" <ji...@apache.org> on 2010/11/27 20:48:37 UTC
[jira] Created: (BUILDR-551) Continuous compilation not working for
project trees
Continuous compilation not working for project trees
----------------------------------------------------
Key: BUILDR-551
URL: https://issues.apache.org/jira/browse/BUILDR-551
Project: Buildr
Issue Type: Bug
Affects Versions: 1.4.4
Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
Reporter: Brandon Beck
I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
children="A B C"
for child in ${children}; do
dir="child${child}/src/main/java"
mkdir -p "${dir}"
file="${dir}/Main.java"
touch "${file}"
echo "public class Main {" >> "${file}"
echo " public static void main(String[] args) {" >> "${file}"
echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
echo " }" >> "${file}"
echo "}" >> "${file}"
done
buildfile="buildfile"
touch "${buildfile}"
echo "define \"root\" do" >> "${buildfile}"
echo " project.version = \"1.0\"" >> "${buildfile}"
echo "" >> "${buildfile}"
for child in ${children}; do
echo " define \"child${child}\" do" >> "${buildfile}"
echo " package :jar" >> "${buildfile}"
echo " end" >> "${buildfile}"
done
echo "end" >> "${buildfile}"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-551) Continuous compilation not working for
project trees
Posted by "Brandon Beck (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Beck updated BUILDR-551:
--------------------------------
{code}
children="A B C"
for child in ${children}; do
dir="child${child}/src/main/java"
mkdir -p "${dir}"
file="${dir}/Main.java"
touch "${file}"
echo "public class Main {" >> "${file}"
echo " public static void main(String[] args) {" >> "${file}"
echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
echo " }" >> "${file}"
echo "}" >> "${file}"
done
buildfile="buildfile"
touch "${buildfile}"
echo "define \"root\" do" >> "${buildfile}"
echo " project.version = \"1.0\"" >> "${buildfile}"
echo "" >> "${buildfile}"
for child in ${children}; do
echo " define \"child${child}\" do" >> "${buildfile}"
echo " package :jar" >> "${buildfile}"
echo " end" >> "${buildfile}"
done
echo "end" >> "${buildfile}"
{code}
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-551) Continuous compilation not working for
project trees
Posted by "Brandon Beck (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Beck updated BUILDR-551:
--------------------------------
Description:
I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
{code}
children="A B C"
for child in ${children}; do
dir="child${child}/src/main/java"
mkdir -p "${dir}"
file="${dir}/Main.java"
touch "${file}"
echo "public class Main {" >> "${file}"
echo " public static void main(String[] args) {" >> "${file}"
echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
echo " }" >> "${file}"
echo "}" >> "${file}"
done
buildfile="buildfile"
touch "${buildfile}"
echo "define \"root\" do" >> "${buildfile}"
echo " project.version = \"1.0\"" >> "${buildfile}"
echo "" >> "${buildfile}"
for child in ${children}; do
echo " define \"child${child}\" do" >> "${buildfile}"
echo " package :jar" >> "${buildfile}"
echo " end" >> "${buildfile}"
done
echo "end" >> "${buildfile}"
{code}
was:
I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
children="A B C"
for child in ${children}; do
dir="child${child}/src/main/java"
mkdir -p "${dir}"
file="${dir}/Main.java"
touch "${file}"
echo "public class Main {" >> "${file}"
echo " public static void main(String[] args) {" >> "${file}"
echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
echo " }" >> "${file}"
echo "}" >> "${file}"
done
buildfile="buildfile"
touch "${buildfile}"
echo "define \"root\" do" >> "${buildfile}"
echo " project.version = \"1.0\"" >> "${buildfile}"
echo "" >> "${buildfile}"
for child in ${children}; do
echo " define \"child${child}\" do" >> "${buildfile}"
echo " package :jar" >> "${buildfile}"
echo " end" >> "${buildfile}"
done
echo "end" >> "${buildfile}"
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Closed] (BUILDR-551) Continuous compilation not working for
project trees
Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald closed BUILDR-551.
-------------------------------
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
> Assignee: Alex Boisvert
> Fix For: 1.4.5
>
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (BUILDR-551) Continuous compilation not working
for project trees
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert reassigned BUILDR-551:
------------------------------------
Assignee: Alex Boisvert
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
> Assignee: Alex Boisvert
> Fix For: 1.4.5
>
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-551) Continuous compilation not working
for project trees
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved BUILDR-551.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.5
Fixed.
boisvert@smudge:~/git/buildr$ git svn dcommit
Committing to https://svn.apache.org/repos/asf/buildr/trunk ...
M CHANGELOG
M lib/buildr/core/cc.rb
M spec/core/cc_spec.rb
Committed r1040014
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
> Assignee: Alex Boisvert
> Fix For: 1.4.5
>
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Commented] (BUILDR-551) Continuous compilation not working
for project trees
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060377#comment-13060377 ]
Hudson commented on BUILDR-551:
-------------------------------
Integrated in Buildr-ci-build #235 (See [https://builds.apache.org/job/Buildr-ci-build/235/])
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
> Assignee: Alex Boisvert
> Fix For: 1.4.5
>
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (BUILDR-551) Continuous compilation not working for
project trees
Posted by "Brandon Beck (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Beck updated BUILDR-551:
--------------------------------
Comment: was deleted
(was: {code}
children="A B C"
for child in ${children}; do
dir="child${child}/src/main/java"
mkdir -p "${dir}"
file="${dir}/Main.java"
touch "${file}"
echo "public class Main {" >> "${file}"
echo " public static void main(String[] args) {" >> "${file}"
echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
echo " }" >> "${file}"
echo "}" >> "${file}"
done
buildfile="buildfile"
touch "${buildfile}"
echo "define \"root\" do" >> "${buildfile}"
echo " project.version = \"1.0\"" >> "${buildfile}"
echo "" >> "${buildfile}"
for child in ${children}; do
echo " define \"child${child}\" do" >> "${buildfile}"
echo " package :jar" >> "${buildfile}"
echo " end" >> "${buildfile}"
done
echo "end" >> "${buildfile}"
{code})
> Continuous compilation not working for project trees
> ----------------------------------------------------
>
> Key: BUILDR-551
> URL: https://issues.apache.org/jira/browse/BUILDR-551
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.4.4
> Environment: Mac OS X 10.6.5, Java 1.6.0_22, buildr 1.4.4
> Reporter: Brandon Beck
>
> I have a multi-module project that I'd like to be able to use continuous compilation on as a whole. Currently if I run the cc task on a leaf project everything works fine. But if I run the cc task on the root, it doesn't seem to detect any changes anywhere in the project tree. It seems like it's not properly recursing.
> It's a little clunky, but here's a simple bash script that will generate a simple project that demonstrates the problem:
> {code}
> children="A B C"
> for child in ${children}; do
> dir="child${child}/src/main/java"
> mkdir -p "${dir}"
> file="${dir}/Main.java"
> touch "${file}"
> echo "public class Main {" >> "${file}"
> echo " public static void main(String[] args) {" >> "${file}"
> echo " System.out.println(\"Hello World From child${child}\");" >> "${file}"
> echo " }" >> "${file}"
> echo "}" >> "${file}"
> done
> buildfile="buildfile"
> touch "${buildfile}"
> echo "define \"root\" do" >> "${buildfile}"
> echo " project.version = \"1.0\"" >> "${buildfile}"
> echo "" >> "${buildfile}"
> for child in ${children}; do
> echo " define \"child${child}\" do" >> "${buildfile}"
> echo " package :jar" >> "${buildfile}"
> echo " end" >> "${buildfile}"
> done
> echo "end" >> "${buildfile}"
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.