[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Eugene Kuleshov (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58724 
] 

Eugene Kuleshov commented on MNGECLIPSE-75:
---

I am not saying that it won't be fixed. But it would be nice if you can confirm 
that your XmlBeans stuff is getting properly into the sources once target 
folder is set properly.

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker
>  Attachments: MNGECLIPSE-75.tar.gz
>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Jochen Wiedmann (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58721 
] 

Jochen Wiedmann commented on MNGECLIPSE-75:
---

I understand that there is an easy workaround. However, my settings have been 
the default settings of any Eclipse project. In other words, I am forced to 
manually configure the classpath for a new project before using "Update source 
folders". I'd still consider that a bug.


> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker
>  Attachments: MNGECLIPSE-75.tar.gz
>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Eugene Kuleshov (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58702 
] 

Eugene Kuleshov commented on MNGECLIPSE-75:
---

Interesting glitch... You seem to have output folder pointing to the project 
root and you can actually see warning about that on M2 console. Once I changed 
default output to a sub folder (e.g. MNGECLIPSE-75/target/eclipse) update 
sources completed fine.

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker
>  Attachments: MNGECLIPSE-75.tar.gz
>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Eugene Kuleshov (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58692 
] 

Eugene Kuleshov commented on MNGECLIPSE-75:
---

Basically what that action does it runs "generate sources" build phase and adds 
source folders registered by plugins to the list of the source folders. You 
should see what is happening on M2 Console.

As I said, if it does not work as expected, then attach sample project that 
would allow to reproduce this issue.

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker

>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Jimisola Laursen (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58687 
] 

Jimisola Laursen commented on MNGECLIPSE-75:


Let me clearify myself, when I asked about "Update Source Folders" I know that 
it is suppose to include the generated sources into the classpath. Should I see 
this under "Maven2 Dependencies"? I can't see it there on in the Project's Java 
Build Path.

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker

>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-15 Thread Jimisola Laursen (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58684 
] 

Jimisola Laursen commented on MNGECLIPSE-75:


No change. At least not a successful one. What is "Update Source Folders" 
suppose to do exactly (as I would like to verify it)?
The generated source files lays under /target/test-xmlbeans-source, not under 
src/ - is that causing a problem?
I haven't managed to get XmlBeans to compile the class files either, so I have 
do check with the XmlBeans plugin as well.

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker

>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (MNGECLIPSE-75) Handling of generated source code

2006-02-14 Thread Eugene Kuleshov (JIRA)
[ http://jira.codehaus.org/browse/MNGECLIPSE-75?page=comments#action_58651 
] 

Eugene Kuleshov commented on MNGECLIPSE-75:
---

We have an action "Update Source Folders" in Maven2 menu. It should include 
your generated sources into the classpath. If it does not work as expected, 
then please attach sample project with XmlBeans that would allow to reproduce 
this issue.

You can also vote for https://bugs.eclipse.org/bugs/show_bug.cgi?id=100508

> Handling of generated source code
> -
>
>  Key: MNGECLIPSE-75
>  URL: http://jira.codehaus.org/browse/MNGECLIPSE-75
>  Project: Maven 2.x Extension for Eclipse
> Type: New Feature

> Versions: 0.0.5
>  Environment: Linux. JDK 1.5. XmlBeans 2.x.
> Reporter: Jimisola Laursen
> Assignee: Eugene Kuleshov
> Priority: Blocker

>
>
> I have a problem with Maven2, XmlBeans Maven Plugin and this plugin (Eclipse 
> Maven Plugin). However, I do believe that the problem will exist when 
> generating sources in other ways as well. I assume that you are  familiar 
> with XmlBeans (if not, it's Java Binding tools that creates Java classes for 
> an XML Schema).
> In my project I use XmlBeans when performing unit tests. Hence, the XmlBeans 
> Maven Plugin generates Java code under /target/test-xmlbeans-source. The 
> actual problem is that Eclipse needs the generated Java code otherwise it 
> generates errors since it can't find the classes used by the unit tests. I 
> want the Maven plugin to add classes of auto-generated source code to Eclipse 
> class paths (dependency). Is there a solution for this?
> Like I hinted above this is not a XmlBeans specific problem as a project can 
> have other tools generating code using e.g. XSLT, AntLR etc (my project uses 
> XSLT as well). There are many advantages using Maven and two important ones 
> are with it and Eclipse:
> 1) the project is built the same (i.e. using the exact same setup of 
> libraries, library versions etc) whether is it inside or outside Eclipse
> 2) all developers have the exact same setup (same version of dependencies etc)
> Are there any other known (potential) issues preventing Eclipse and Maven 
> from working seamlessly?
> Can the Eclipses built-in compiler cause problems?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]